mirror of https://github.com/docker/cli.git
fix typos
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
6ad28f55d5
commit
a5f0686bf0
|
@ -36,7 +36,7 @@ func (opts *ListOpts) String() string {
|
||||||
return fmt.Sprintf("%v", []string((*opts.values)))
|
return fmt.Sprintf("%v", []string((*opts.values)))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set validates if needed the input value and add it to the
|
// Set validates if needed the input value and adds it to the
|
||||||
// internal slice.
|
// internal slice.
|
||||||
func (opts *ListOpts) Set(value string) error {
|
func (opts *ListOpts) Set(value string) error {
|
||||||
if opts.validator != nil {
|
if opts.validator != nil {
|
||||||
|
|
Loading…
Reference in New Issue