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

(cherry picked from commit 3ec4739cc7)
This commit is contained in:
Felix Fontein 2019-06-28 15:54:27 +02:00 committed by Alicia Cozine
parent bbbacebf01
commit b13a5d32c2

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