Merge "Fix bug in docker-toool where values are sometimes empty."
This commit is contained in:
commit
737f40d755
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user