fix: Do not need safe-mode for unreachable targets upon restart (#8686)

This commit is contained in:
Harshavardhana
2019-12-21 22:35:50 -08:00
committed by GitHub
parent 0f092c2be8
commit 725172e13b
4 changed files with 18 additions and 23 deletions

View File

@@ -227,10 +227,6 @@ func initAllSubsystems(buckets []BucketInfo, newObject ObjectLayer) (err error)
return fmt.Errorf("Unable to initialize config system: %w", err)
}
if err = globalNotificationSys.AddNotificationTargetsFromConfig(globalServerConfig); err != nil {
return fmt.Errorf("Unable to initialize notification target(s) from config: %w", err)
}
if globalEtcdClient != nil {
// **** WARNING ****
// Migrating to encrypted backend on etcd should happen before initialization of