This commit is contained in:
chouseknecht 2016-06-04 02:07:10 -04:00
parent 2bd8d78a8b
commit 68151790c2
No known key found for this signature in database
GPG key ID: 78F1698C5705A81B

View file

@ -1506,7 +1506,7 @@ class Container(DockerBaseClass):
expected_env = dict()
if image and image['ContainerConfig'].get('Env'):
for env_var in image['ContainerConfig']['Env']:
parts = env_var.split('=')
parts = env_var.split('=', 1)
expected_env[parts[0]] = parts[1]
if self.parameters.env:
expected_env.update(self.parameters.env)