|
@@ -61,10 +61,7 @@ func (daemon *Daemon) Reload(conf *config.Config) (err error) {
|
|
if err := daemon.reloadLiveRestore(conf, attributes); err != nil {
|
|
if err := daemon.reloadLiveRestore(conf, attributes); err != nil {
|
|
return err
|
|
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
|
|
// reloadDebug updates configuration with Debug option
|