buildah/pkg/parse
TomSweeneyRedHat 6941254c29 Fix option handling for volumes in build
If the volume option was specified like: `--volume "${HOME}/.cache/zae9ujei:/myvol:rw,Z"`,
the COBRA code that processed the input from the user was considering the value to be a
SliceVar with two volumes `${HOME}/.cache/zae9ujei:/myvol:rw` and `Z` due to the comma.

Converted the COBRA code to consider the input as an ArrayVar instead and the value is
handled appropriately.  Also increased the testing to catch this going forward.

Addresses: #2000

Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>

Closes: #2039
Approved by: rhatdan
2019-12-22 15:06:05 +00:00
..
parse.go Fix option handling for volumes in build 2019-12-22 15:06:05 +00:00
parse_test.go Enable --device directory as src device 2019-10-25 12:42:22 +00:00
parse_unix.go Start using containers/common 2019-12-06 14:37:27 +00:00
parse_unsupported.go Move devices code to unit specific directory. 2019-09-13 11:13:10 +00:00