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