ecr: Fix "imageDigest" value in ecr.list_images() response (#3436)
This commit is contained in:
parent
574f46e212
commit
b7cf2d4478
2 changed files with 5 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ class Image(BaseObject):
|
|||
def response_list_object(self):
|
||||
response_object = self.gen_response_object()
|
||||
response_object["imageTag"] = self.image_tag
|
||||
response_object["imageDigest"] = "i don't know"
|
||||
response_object["imageDigest"] = self.get_image_digest()
|
||||
return {
|
||||
k: v for k, v in response_object.items() if v is not None and v != [None]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue