mirror of https://github.com/docker/cli.git
fix typos
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
17b3d05419
commit
662b3de10a
|
@ -251,7 +251,7 @@ func ValidateLabel(val string) (string, error) {
|
||||||
return val, nil
|
return val, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// ValidateSysctl validates an sysctl and returns it.
|
// ValidateSysctl validates a sysctl and returns it.
|
||||||
func ValidateSysctl(val string) (string, error) {
|
func ValidateSysctl(val string) (string, error) {
|
||||||
validSysctlMap := map[string]bool{
|
validSysctlMap := map[string]bool{
|
||||||
"kernel.msgmax": true,
|
"kernel.msgmax": true,
|
||||||
|
|
Loading…
Reference in New Issue