fix serialize restart spec with null string
Signed-off-by: realityone <realityone@me.com>
This commit is contained in:
parent
e4bb9bde30
commit
22d91f60be
3 changed files with 9 additions and 0 deletions
|
|
@ -236,6 +236,10 @@ class CLITestCase(DockerClientTestCase):
|
|||
'image': 'busybox',
|
||||
'restart': 'on-failure:5',
|
||||
},
|
||||
'restart-null': {
|
||||
'image': 'busybox',
|
||||
'restart': ''
|
||||
},
|
||||
},
|
||||
'networks': {},
|
||||
'volumes': {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue