Revert "fedimg: Add the patch for the PR#103, fix processing Rawhide messages"
This reverts commit 865c918eb6
.
This commit is contained in:
parent
865c918eb6
commit
4875d770c3
1 changed files with 10 additions and 1 deletions
|
@ -85,7 +85,7 @@ class FedimgConsumer(fedmsg.consumers.FedmsgConsumer):
|
|||
try:
|
||||
compose_metadata = fedfind.release.get_release(cid=compose_id).metadata
|
||||
except fedfind.exceptions.UnsupportedComposeError:
|
||||
_log.debug("%r is unsupported compose" % compose_id)
|
||||
LOG.debug("%r is unsupported compose" % compose_id)
|
||||
return
|
||||
|
||||
|
||||
|
@ -106,6 +106,15 @@ class FedimgConsumer(fedmsg.consumers.FedmsgConsumer):
|
|||
compose_metadata, 'images', 'payload',
|
||||
'images', 'AtomicHost', 'x86_64'))
|
||||
|
||||
images_meta = get_value_from_dict(
|
||||
compose_metadata,
|
||||
'images',
|
||||
'payload',
|
||||
'images',
|
||||
'CloudImages',
|
||||
'x86_64'
|
||||
)
|
||||
|
||||
if images_meta is None:
|
||||
_log.debug('No compatible image found to process')
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue