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