Make config validation error messages more consistent.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
4b2a666231
commit
0d218c34c7
4 changed files with 30 additions and 28 deletions
|
|
@ -159,7 +159,7 @@ class CLITestCase(DockerClientTestCase):
|
|||
'-f', 'tests/fixtures/invalid-composefile/invalid.yml',
|
||||
'config', '-q'
|
||||
], returncode=1)
|
||||
assert "'notaservice' is the wrong type" in result.stderr
|
||||
assert "'notaservice' must be a mapping" in result.stderr
|
||||
|
||||
# TODO: this shouldn't be v2-dependent
|
||||
@v2_only()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue