6e66b01
@@ -61,6 +61,10 @@
msg = message.body
+ # Check if the owner field is even available
+ if not "owner" in msg:
+ return
+
if msg["owner"] == "containerbuild":
_log.info("Skipping container build")
return
This issue was encountered on staging, let's just skip the message if the field is missing.
Signed-off-by: Michal Konečný mkonecny@redhat.com
Pull-Request has been closed by zlopez
This issue was encountered on staging, let's just skip the message if the field
is missing.
Signed-off-by: Michal Konečný mkonecny@redhat.com