Don't allow links or external_links in v2 files
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
9e17cff0ef
commit
70cce961a8
4 changed files with 23 additions and 6 deletions
|
|
@ -268,8 +268,8 @@ class ConfigTest(unittest.TestCase):
|
|||
{
|
||||
'name': 'web',
|
||||
'build': os.path.abspath('/'),
|
||||
'links': ['db'],
|
||||
'volumes': [VolumeSpec.parse('/home/user/project:/code')],
|
||||
'links': ['db'],
|
||||
},
|
||||
{
|
||||
'name': 'db',
|
||||
|
|
@ -405,7 +405,6 @@ class ConfigTest(unittest.TestCase):
|
|||
'services': {
|
||||
'web': {
|
||||
'image': 'example/web',
|
||||
'links': ['db'],
|
||||
},
|
||||
'db': {
|
||||
'image': 'example/db',
|
||||
|
|
@ -431,7 +430,6 @@ class ConfigTest(unittest.TestCase):
|
|||
'name': 'web',
|
||||
'build': os.path.abspath('/'),
|
||||
'image': 'example/web',
|
||||
'links': ['db'],
|
||||
'volumes': [VolumeSpec.parse('/home/user/project:/code')],
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue