aci: handle null docker env vars
This commit is contained in:
parent
979d813551
commit
029159e97a
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ class ACIImage(TarImageFormatter):
|
|||
hostname = hostname.split(':', 1)[0]
|
||||
|
||||
# Calculate the environment variables.
|
||||
docker_env_vars = config.get('Env', [])
|
||||
docker_env_vars = config.get('Env', []) or []
|
||||
env_vars = []
|
||||
for var in docker_env_vars:
|
||||
pieces = var.split('=')
|
||||
|
|
Reference in a new issue