Skip to content

Commit

Permalink
Merge pull request #287 from CybercentreCanada/hotfix/harbor_image_name
Browse files Browse the repository at this point in the history
swap order for list comp.
  • Loading branch information
cccs-rs authored Aug 30, 2021
2 parents 6242d6e + ae3c9f4 commit 1afba24
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 @@ -49,7 +49,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 tag in image['tags'] for image in resp.json()]
return [tag['name'] for image in resp.json() for tag in image['tags']]
return []


Expand Down

0 comments on commit 1afba24

Please sign in to comment.