Kaydet (Commit) 2a6926b5 authored tarafından adrianliaw's avatar adrianliaw Kaydeden (comit) Joffrey F

Use collection's get method inside ImageCollection's list method

Signed-off-by: 's avatarAdrian Liaw <adrianliaw2000@gmail.com>
üst b4802ea1
...@@ -224,7 +224,7 @@ class ImageCollection(Collection): ...@@ -224,7 +224,7 @@ class ImageCollection(Collection):
If the server returns an error. If the server returns an error.
""" """
resp = self.client.api.images(name=name, all=all, filters=filters) resp = self.client.api.images(name=name, all=all, filters=filters)
return [self.prepare_model(r) for r in resp] return [self.get(r["Id"]) for r in resp]
def load(self, data): def load(self, data):
""" """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment