mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
6f8ddec1d0
As suggested in https://github.com/docker/docker/pull/14004/files#r34022527 The concern there is we can't differentiate whether user explicitly asked for an invalid value of -1 or he did not specify anything. I don't think this would be a problem, because: - like all other default values like zero, we can't differentiate user specify it or not, most of which, zeros are also invalid, so default is default, we show these default values in help info, so users would know if they set value as default, it'll be like they set nothing. - we can't do this kind of string check in REST api request, so it'll make the behave different from docker command and RESTapi. Signed-off-by: Qiang Huang <h.huangqiang@huawei.com> |
||
---|---|---|
.. | ||
fixtures | ||
compare.go | ||
compare_test.go | ||
config.go | ||
config_test.go | ||
exec.go | ||
exec_test.go | ||
hostconfig.go | ||
hostconfig_test.go | ||
hostconfig_unix.go | ||
hostconfig_windows.go | ||
merge.go | ||
merge_test.go | ||
parse.go | ||
parse_experimental.go | ||
parse_stub.go | ||
parse_test.go | ||
parse_unix.go | ||
parse_windows.go |