diff --git a/files/hotfix/fedimg/consumers.py b/files/hotfix/fedimg/consumers.py index 8195321299..ce4d66293f 100644 --- a/files/hotfix/fedimg/consumers.py +++ b/files/hotfix/fedimg/consumers.py @@ -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