do not heal "backend-encrypted" out-of-band with migration (#12556)

backend-encrypted doesn't need to be explicitly healed anymore
since this file is deleted upon upgrade and migration to the
KMS based encrypted config/IAM credentials.
This commit is contained in:
Harshavardhana authored and GitHub committed 2021-06-23 12:09:10 -07:00
1 parent f13f3344df
commit b4bf82c751
4 files changed
+2 -19

No files matched your search

+1 -1
View File
@@ -183,5 +183,5 @@ func migrateConfigPrefixToEncrypted(objAPI ObjectLayer, encrypted bool) error {
if encrypted && GlobalKMS != nil {
logger.Info("Migration of encrypted config data completed. All config data is now encrypted.")
}
return deleteConfig(GlobalContext, globalObjectAPI, backendEncryptedFile)
return deleteConfig(GlobalContext, objAPI, backendEncryptedFile)
}