mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix logruns.Warnf while daemon.networkOptions fails
Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn> Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
This commit is contained in:
parent
e345d67c4e
commit
56916b5e8d
1 changed files with 1 additions and 1 deletions
2
daemon/daemon.go
Normal file → Executable file
2
daemon/daemon.go
Normal file → Executable file
|
@ -1055,7 +1055,7 @@ func (daemon *Daemon) reloadClusterDiscovery(config *Config) error {
|
||||||
}
|
}
|
||||||
netOptions, err := daemon.networkOptions(daemon.configStore, nil)
|
netOptions, err := daemon.networkOptions(daemon.configStore, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logrus.Warnf("Failed to reload configuration with network controller: %v", err)
|
logrus.WithError(err).Warnf("failed to get options with network controller")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
err = daemon.netController.ReloadConfiguration(netOptions...)
|
err = daemon.netController.ReloadConfiguration(netOptions...)
|
||||||
|
|
Loading…
Reference in a new issue