Skip to content

Commit 6754d66

Browse files
committed
hotfix - image with no tags
1 parent 8a1d8ba commit 6754d66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assemblyline_core/updater/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def _get_proprietary_registry_tags(self, server, image_name, auth, verify):
6363
resp = requests.get(url, headers=headers, verify=verify)
6464

6565
if resp.ok:
66-
return [tag['name'] for image in resp.json() for tag in image['tags']]
66+
return [tag['name'] for image in resp.json() if image['tags'] for tag in image['tags']]
6767
return []
6868

6969

0 commit comments

Comments
 (0)