Make environment variables without a value the same as docker-cli.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
bcd5286cd3
commit
9d7dbe3857
7 changed files with 28 additions and 12 deletions
|
|
@ -909,7 +909,7 @@ class ServiceTest(DockerClientTestCase):
|
|||
'FILE_DEF': 'F1',
|
||||
'FILE_DEF_EMPTY': '',
|
||||
'ENV_DEF': 'E3',
|
||||
'NO_DEF': ''
|
||||
'NO_DEF': None
|
||||
}.items():
|
||||
self.assertEqual(env[k], v)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue