Created
August 2, 2019 20:08
-
-
Save relrod/3f8cb226c420bd880b5913fbf1895875 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/roles/koji_hub/templates/fedmsg-koji-plugin.py b/roles/koji_hub/templates/fedmsg-koji-plugin.py | |
index 6d7b3aa..3ff315d 100644 | |
--- a/roles/koji_hub/templates/fedmsg-koji-plugin.py | |
+++ b/roles/koji_hub/templates/fedmsg-koji-plugin.py | |
@@ -183,6 +183,10 @@ def queue_message(cbtype, *args, **kws): | |
body.get('sigkey') == ''): | |
return | |
+ # Don't publish volume_id changes | |
+ if topic == 'build.state.change' and body.get('attribute') == 'volume_id': | |
+ return | |
+ | |
# Last thing to do before publishing: scrub some problematic fields | |
# These fields are floating points which get json-encoded differently on | |
# rhel and fedora. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment