1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cmd/dockerd
Sebastiaan van Stijn 6e7715d65b
Fix "--node-generic-resource" singular/plural
Daemon flags that can be specified multiple times use
singlar names for flags, but plural names for the configuration
file.

To make the daemon configuration know how to correlate
the flag with the corresponding configuration option,
`opt.NewNamedListOptsRef()` should be used instead of
`opt.NewListOptsRef()`.

Commit 6702ac590e attempted
to fix the daemon not corresponding the flag with the configuration
file option, but did so by changing the name of the flag
to plural.

This patch reverts that change, and uses `opt.NewNamedListOptsRef()`
instead.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-01-26 13:53:13 -08:00
..
hack review code about cmd/* and fix some easy typos :D 2017-02-10 15:52:33 +08:00
config.go Fix "--node-generic-resource" singular/plural 2018-01-26 13:53:13 -08:00
config_common_unix.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
config_unix.go Remove unused experimental code 2017-12-18 17:07:48 +01:00
config_unix_test.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
config_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
daemon.go Disallow using legacy (V1) registries 2017-12-09 02:24:43 -08:00
daemon_freebsd.go Windows: Wait for OOBE to prevent crashing during host update 2017-02-15 14:01:54 -08:00
daemon_linux.go Remove redundant build-tags 2017-12-18 17:41:53 +01:00
daemon_test.go Fix "--node-generic-resource" singular/plural 2018-01-26 13:53:13 -08:00
daemon_unix.go Fix nonewmountns for containerd options 2017-12-04 14:17:30 -05:00
daemon_unix_test.go Disallow using legacy (V1) registries 2017-12-09 02:24:43 -08:00
daemon_windows.go Merge pull request #35253 from Microsoft/jjh/startuplogging 2017-10-23 18:43:41 +02:00
docker.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
docker_windows.go Windows: work around Go 1.6.2/Nano Server TP5 issue 2016-05-25 11:59:28 +02:00
metrics.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
options.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
options_test.go Remove cli/flags package 2017-06-01 13:34:31 -07:00
README.md Fix readme doc for dockerd 2016-09-01 14:47:51 +08:00
service_unsupported.go Windows: no pidfile when service 2017-03-08 15:18:30 -08:00
service_windows.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00

docker.go contains Docker daemon's main function.

This file provides first line CLI argument parsing and environment variable setting.