Fix the test for where extended image properties should come from. Fix the delete tag dialog to specify that the repo will be gc'ed after tag deletion.
This commit is contained in:
parent
7428d2aa50
commit
369417c3ad
2 changed files with 5 additions and 2 deletions
|
@ -1084,7 +1084,10 @@ def delete_repository(namespace, repository):
|
|||
|
||||
|
||||
def image_view(image):
|
||||
extended_props = image.storage or image
|
||||
extended_props = image
|
||||
if image.storage and image.storage.id:
|
||||
extended_props = image.storage
|
||||
|
||||
command = extended_props.command
|
||||
return {
|
||||
'id': image.docker_image_id,
|
||||
|
|
Reference in a new issue