Normalize external_name
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
8616b2de51
commit
d601199eb5
5 changed files with 22 additions and 14 deletions
|
|
@ -687,7 +687,9 @@ class ProjectTest(DockerClientTestCase):
|
|||
'name': 'web',
|
||||
'image': 'busybox:latest',
|
||||
'command': 'top'
|
||||
}], volumes={vol_name: {'external': True}}
|
||||
}], volumes={
|
||||
vol_name: {'external': True, 'external_name': vol_name}
|
||||
}
|
||||
)
|
||||
project = Project.from_config(
|
||||
name='composetest',
|
||||
|
|
@ -706,7 +708,9 @@ class ProjectTest(DockerClientTestCase):
|
|||
'name': 'web',
|
||||
'image': 'busybox:latest',
|
||||
'command': 'top'
|
||||
}], volumes={vol_name: {'external': True}}
|
||||
}], volumes={
|
||||
vol_name: {'external': True, 'external_name': vol_name}
|
||||
}
|
||||
)
|
||||
project = Project.from_config(
|
||||
name='composetest',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue