Skip to content

Commit

Permalink
hotfix - image with no tags
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-rs committed Sep 20, 2021
1 parent 8a1d8ba commit 6754d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assemblyline_core/updater/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _get_proprietary_registry_tags(self, server, image_name, auth, verify):
resp = requests.get(url, headers=headers, verify=verify)

if resp.ok:
return [tag['name'] for image in resp.json() for tag in image['tags']]
return [tag['name'] for image in resp.json() if image['tags'] for tag in image['tags']]
return []


Expand Down

0 comments on commit 6754d66

Please sign in to comment.