koji / fedmsg plugin: try and drop volume change notifications.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
a0b999c659
commit
ec3c9e8c20
1 changed files with 4 additions and 0 deletions
|
@ -183,6 +183,10 @@ def queue_message(cbtype, *args, **kws):
|
|||
body.get('sigkey') == ''):
|
||||
return
|
||||
|
||||
# Also, do not want to send a message on 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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue