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
10
tests/fixtures/v2-simple/links-invalid.yml
vendored
Normal file
10
tests/fixtures/v2-simple/links-invalid.yml
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
version: 2
|
||||
services:
|
||||
simple:
|
||||
image: busybox:latest
|
||||
command: top
|
||||
links:
|
||||
- another
|
||||
another:
|
||||
image: busybox:latest
|
||||
command: top
|
||||
Loading…
Add table
Add a link
Reference in a new issue