Merge pull request #36025 from yongtang/01152018-golint
Fix golint error Upstream-commit: 410e95d368cc03363472691bb2b228d3bd5c155a Component: engine
This commit is contained in:
@@ -61,10 +61,7 @@ func (daemon *Daemon) Reload(conf *config.Config) (err error) {
|
||||
if err := daemon.reloadLiveRestore(conf, attributes); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := daemon.reloadNetworkDiagnosticPort(conf, attributes); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return daemon.reloadNetworkDiagnosticPort(conf, attributes)
|
||||
}
|
||||
|
||||
// reloadDebug updates configuration with Debug option
|
||||
|
||||
Reference in New Issue
Block a user