瀏覽代碼

fix docker daemon reload bug

Signed-off-by: bingshen.wbs <bingshen.wbs@alibaba-inc.com>
bingshen.wbs 8 年之前
父節點
當前提交
51870c7e92
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      daemon/daemon.go

+ 1 - 1
daemon/daemon.go

@@ -1160,7 +1160,7 @@ func (daemon *Daemon) reloadClusterDiscovery(conf *config.Config) error {
 	}
 	}
 
 
 	// check discovery modifications
 	// check discovery modifications
-	if !config.ModifiedDiscoverySettings(daemon.configStore, newAdvertise, newClusterStore, conf.ClusterOpts) {
+	if !config.ModifiedDiscoverySettings(daemon.configStore, newClusterStore, newAdvertise, conf.ClusterOpts) {
 		return nil
 		return nil
 	}
 	}