Signed-off-by: Anca Iordache <anca.iordache@docker.com>
| ... | ... |
@@ -70,11 +70,11 @@ func installCommonConfigFlags(conf *config.Config, flags *pflag.FlagSet) error {
|
| 70 | 70 |
flags.Var(opts.NewNamedMapOpts("log-opts", conf.LogConfig.Config, nil), "log-opt", "Default log driver options for containers")
|
| 71 | 71 |
|
| 72 | 72 |
flags.StringVar(&conf.ClusterAdvertise, "cluster-advertise", "", "Address or interface name to advertise") |
| 73 |
- _ = flags.MarkDeprecated("cluster-advertise", "Deprecated option.")
|
|
| 73 |
+ _ = flags.MarkDeprecated("cluster-advertise", "Swarm classic is deprecated. Please use Swarm-mode (docker swarm init)")
|
|
| 74 | 74 |
flags.StringVar(&conf.ClusterStore, "cluster-store", "", "URL of the distributed storage backend") |
| 75 |
- _ = flags.MarkDeprecated("cluster-store", "Deprecated option.")
|
|
| 75 |
+ _ = flags.MarkDeprecated("cluster-store", "Swarm classic is deprecated. Please use Swarm-mode (docker swarm init)")
|
|
| 76 | 76 |
flags.Var(opts.NewNamedMapOpts("cluster-store-opts", conf.ClusterOpts, nil), "cluster-store-opt", "Set cluster store options")
|
| 77 |
- _ = flags.MarkDeprecated("cluster-store-opts", "Deprecated option.")
|
|
| 77 |
+ _ = flags.MarkDeprecated("cluster-store-opts", "Swarm classic is deprecated. Please use Swarm-mode (docker swarm init)")
|
|
| 78 | 78 |
|
| 79 | 79 |
flags.StringVar(&conf.CorsHeaders, "api-cors-header", "", "Set CORS headers in the Engine API") |
| 80 | 80 |
flags.IntVar(&maxConcurrentDownloads, "max-concurrent-downloads", config.DefaultMaxConcurrentDownloads, "Set the max concurrent downloads for each pull") |