Removes pluralization of manager tag attribute.

release1.5.1
Jim Kytola 11 years ago committed by James Cammarata
parent b14932465d
commit dd3fa2aebe

@ -161,7 +161,7 @@ class DockerImageManager:
for i in images: for i in images:
# Docker-py version >= 0.3 (Docker API >= 1.8) # Docker-py version >= 0.3 (Docker API >= 1.8)
if 'RepoTags' in i: if 'RepoTags' in i:
repotag = '%s:%s' % (getattr(self, 'name', ''), getattr(self, 'tags', 'latest')) repotag = '%s:%s' % (getattr(self, 'name', ''), getattr(self, 'tag', 'latest'))
if not self.name or repotag in i['RepoTags']: if not self.name or repotag in i['RepoTags']:
filtered_images.append(i) filtered_images.append(i)
# Docker-py version < 0.3 (Docker API < 1.8) # Docker-py version < 0.3 (Docker API < 1.8)

Loading…
Cancel
Save