fix SWARM_DISCOVERY env var

Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
Victor Vieux 2015-01-20 01:12:10 +00:00
parent 59fb880b75
commit 829bcb562d
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ func manage(c *cli.Context) {
cluster := cluster.NewCluster(store, tlsConfig, c.Float64("overcommit"))
cluster.Events(&logHandler{})
if !c.IsSet("discovery") {
if c.String("discovery") == "" {
log.Fatal("--discovery required to manage a cluster")
}