mirror of https://github.com/docker/docker-py.git
Use collection's get method inside ImageCollection's list method
Signed-off-by: Adrian Liaw <adrianliaw2000@gmail.com>
This commit is contained in:
parent
b4802ea126
commit
2a6926b5ab
|
@ -224,7 +224,7 @@ class ImageCollection(Collection):
|
|||
If the server returns an error.
|
||||
"""
|
||||
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):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue