mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
compose: update the comment about MappingWithEquals
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
parent
a9c86b63c0
commit
2cdc9c42eb
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue