Handle mismatched network formats in config files
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
e5689afe4c
commit
f4a22b94ed
7 changed files with 83 additions and 10 deletions
|
|
@ -438,7 +438,7 @@ class ProjectTest(unittest.TestCase):
|
|||
{
|
||||
'name': 'foo',
|
||||
'image': 'busybox:latest',
|
||||
'networks': ['custom']
|
||||
'networks': {'custom': None}
|
||||
},
|
||||
],
|
||||
networks={'custom': {}},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue