1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

compose: update the comment about MappingWithEquals

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
Akihiro Suda
2017-03-17 06:21:55 +00:00
parent 146d3eb304
commit 2fc6cd4b71

View File

@@ -134,7 +134,9 @@ type StringList []string
type StringOrNumberList []string
// MappingWithEquals is a mapping type that can be converted from a list of
// key=value strings
// key[=value] strings.
// For the key with an empty value (`key=`), the mapped value is set to a pointer to `""`.
// For the key without value (`key`), the mapped value is set to nil.
type MappingWithEquals map[string]*string
// Labels is a mapping type for labels