From 006cacfefb3fa748cf1fde69034535b1cf1b1aae Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Fri, 23 Aug 2024 15:43:31 -0700 Subject: [PATCH] to turn-off healing drop legacy ENV (#20315) --- cmd/background-newdisks-heal-ops.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/background-newdisks-heal-ops.go b/cmd/background-newdisks-heal-ops.go index c24b41622..894af1cd0 100644 --- a/cmd/background-newdisks-heal-ops.go +++ b/cmd/background-newdisks-heal-ops.go @@ -384,8 +384,7 @@ func initAutoHeal(ctx context.Context, objAPI ObjectLayer) { } initBackgroundHealing(ctx, objAPI) // start quick background healing - - if env.Get("_MINIO_AUTO_DRIVE_HEALING", config.EnableOn) == config.EnableOn || env.Get("_MINIO_AUTO_DISK_HEALING", config.EnableOn) == config.EnableOn { + if env.Get("_MINIO_AUTO_DRIVE_HEALING", config.EnableOn) == config.EnableOn { globalBackgroundHealState.pushHealLocalDisks(getLocalDisksToHeal()...) go monitorLocalDisksAndHeal(ctx, z) }