mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fixed deprecation message
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
This commit is contained in:
parent
1470697b67
commit
f7c4be86c6
1 changed files with 3 additions and 3 deletions
|
@ -70,11 +70,11 @@ func installCommonConfigFlags(conf *config.Config, flags *pflag.FlagSet) error {
|
|||
flags.Var(opts.NewNamedMapOpts("log-opts", conf.LogConfig.Config, nil), "log-opt", "Default log driver options for containers")
|
||||
|
||||
flags.StringVar(&conf.ClusterAdvertise, "cluster-advertise", "", "Address or interface name to advertise")
|
||||
_ = flags.MarkDeprecated("cluster-advertise", "Deprecated option.")
|
||||
_ = flags.MarkDeprecated("cluster-advertise", "Swarm classic is deprecated. Please use Swarm-mode (docker swarm init)")
|
||||
flags.StringVar(&conf.ClusterStore, "cluster-store", "", "URL of the distributed storage backend")
|
||||
_ = flags.MarkDeprecated("cluster-store", "Deprecated option.")
|
||||
_ = flags.MarkDeprecated("cluster-store", "Swarm classic is deprecated. Please use Swarm-mode (docker swarm init)")
|
||||
flags.Var(opts.NewNamedMapOpts("cluster-store-opts", conf.ClusterOpts, nil), "cluster-store-opt", "Set cluster store options")
|
||||
_ = flags.MarkDeprecated("cluster-store-opts", "Deprecated option.")
|
||||
_ = flags.MarkDeprecated("cluster-store-opts", "Swarm classic is deprecated. Please use Swarm-mode (docker swarm init)")
|
||||
|
||||
flags.StringVar(&conf.CorsHeaders, "api-cors-header", "", "Set CORS headers in the Engine API")
|
||||
flags.IntVar(&maxConcurrentDownloads, "max-concurrent-downloads", config.DefaultMaxConcurrentDownloads, "Set the max concurrent downloads for each pull")
|
||||
|
|
Loading…
Reference in a new issue