Merge pull request #8363 from greenmoss/devel

Fix Docker image name parsing
This commit is contained in:
James Cammarata 2014-07-31 11:27:19 -05:00
commit 5cb682b3b0

View file

@ -470,7 +470,7 @@ class DockerManager:
def get_split_image_tag(self, image): def get_split_image_tag(self, image):
if '/' in image: if '/' in image:
image = image.split('/')[1] image = image.split('/')[-1]
tag = None tag = None
if image.find(':') > 0: if image.find(':') > 0:
return image.split(':') return image.split(':')