From 10c54005be717b7871f549b0472671c476538af3 Mon Sep 17 00:00:00 2001 From: Matt Kocubinski Date: Thu, 5 Dec 2024 16:47:32 -0600 Subject: [PATCH] fix(confix): correctly distinguish server/v2 config (#22780) --- tools/confix/upgrade.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/confix/upgrade.go b/tools/confix/upgrade.go index d212bbfb7927..d0ced95da66f 100644 --- a/tools/confix/upgrade.go +++ b/tools/confix/upgrade.go @@ -44,7 +44,7 @@ func Upgrade(ctx context.Context, plan transform.Plan, doc *tomledit.Document, c } // ignore validation for serverv2 by checking any default field found in doc - isServerV2 := doc.First(strings.Split("store.options.ss-pruning-option", ".")...) != nil + isServerV2 := doc.First(strings.Split("store.options.sc-pruning-option", ".")...) != nil // allow to skip validation if !skipValidate && !isServerV2 {