the env argument for docker_container wants a dict, not a list (#58475)

This commit is contained in:
Chris Francy 2019-06-27 21:59:09 -07:00 committed by Felix Fontein
parent e2d159c40c
commit 3ec4739cc7

View file

@ -835,8 +835,8 @@ EXAMPLES = '''
name: test
image: ubuntu:18.04
env:
- arg1: "true"
- arg2: "whatever"
arg1: "true"
arg2: "whatever"
volumes:
- /tmp:/tmp
comparisons:
@ -849,8 +849,8 @@ EXAMPLES = '''
name: test
image: ubuntu:18.04
env:
- arg1: "true"
- arg2: "whatever"
arg1: "true"
arg2: "whatever"
comparisons:
'*': ignore # by default, ignore *all* options (including image)
env: strict # except for environment variables; there, we want to be strict