Merge pull request #2852 from awasilyev/check_tag

docker: fix failing in case of empty image tag
This commit is contained in:
James Cammarata 2016-02-08 12:44:24 -05:00
commit b804edfbe3

View file

@ -569,6 +569,8 @@ def get_split_image_tag(image):
resource, tag = resource.split(':', 1)
if registry:
resource = '/'.join((registry, resource))
if tag == "":
tag = "latest"
else:
tag = "latest"
resource = image