mirror of
https://github.com/docker/docs.git
synced 2026-04-04 18:28:58 +07:00
use "docker/swarm/nodes"
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
@@ -126,6 +126,9 @@ func getDiscoveryOpt(c *cli.Context) map[string]string {
|
||||
kvpair := strings.SplitN(option, "=", 2)
|
||||
options[kvpair[0]] = kvpair[1]
|
||||
}
|
||||
if _, ok := options["kv.path"]; !ok {
|
||||
options["kv.path"] = "docker/swarm/nodes"
|
||||
}
|
||||
return options
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user