mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix docker daemon reload bug
Signed-off-by: bingshen.wbs <bingshen.wbs@alibaba-inc.com>
This commit is contained in:
parent
3dc87714d1
commit
51870c7e92
1 changed files with 1 additions and 1 deletions
|
@ -1160,7 +1160,7 @@ func (daemon *Daemon) reloadClusterDiscovery(conf *config.Config) error {
|
|||
}
|
||||
|
||||
// check discovery modifications
|
||||
if !config.ModifiedDiscoverySettings(daemon.configStore, newAdvertise, newClusterStore, conf.ClusterOpts) {
|
||||
if !config.ModifiedDiscoverySettings(daemon.configStore, newClusterStore, newAdvertise, conf.ClusterOpts) {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue