Removes pluralization of manager tag attribute.

pull/6271/head
Jim Kytola 11 years ago
parent d063cfaf39
commit 186d19f224

@ -161,7 +161,7 @@ class DockerImageManager:
for i in images:
# Docker-py version >= 0.3 (Docker API >= 1.8)
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']:
filtered_images.append(i)
# Docker-py version < 0.3 (Docker API < 1.8)

Loading…
Cancel
Save