Files
docker-cli/components/engine/cmd/dockerd
Sebastiaan van Stijn 7c5df03153 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 6702ac590e6148cb3f606388dde93a011cb14931 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>
Upstream-commit: 6e7715d65ba892a47d355e16bf9ad87fb537a2d0
Component: engine
2018-01-26 13:53:13 -08:00
..
2017-12-18 17:07:48 +01:00
2017-12-18 17:41:53 +01:00
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2017-06-01 13:34:31 -07:00
2017-07-31 13:16:46 -07:00
2016-09-01 14:47:51 +08:00
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.