Signed-off-by: bingshen.wbs <bingshen.wbs@alibaba-inc.com>
| ... | ... |
@@ -1160,7 +1160,7 @@ func (daemon *Daemon) reloadClusterDiscovery(conf *config.Config) error {
|
| 1160 | 1160 |
} |
| 1161 | 1161 |
|
| 1162 | 1162 |
// check discovery modifications |
| 1163 |
- if !config.ModifiedDiscoverySettings(daemon.configStore, newAdvertise, newClusterStore, conf.ClusterOpts) {
|
|
| 1163 |
+ if !config.ModifiedDiscoverySettings(daemon.configStore, newClusterStore, newAdvertise, conf.ClusterOpts) {
|
|
| 1164 | 1164 |
return nil |
| 1165 | 1165 |
} |
| 1166 | 1166 |
|