Merge "Fix bug in docker-toool where values are sometimes empty."

This commit is contained in:
Jenkins 2017-06-13 18:09:31 +00:00 committed by Gerrit Code Review
commit 737f40d755

View File

@ -75,6 +75,9 @@ def parse_opts(argv):
def docker_arg_map(key, value):
value = str(value).encode('ascii', 'ignore')
if len(value) == 0:
return ''
return {
'environment': "--env=%s" % value,
# 'image': value,