Skip to content

Commit 8b4dd8e

Browse files
authored
fix(confix): correctly distinguish server/v2 config (backport #22780) (#22781)
1 parent a565cf5 commit 8b4dd8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/confix/upgrade.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func Upgrade(ctx context.Context, plan transform.Plan, doc *tomledit.Document, c
4444
}
4545

4646
// ignore validation for serverv2 by checking any default field found in doc
47-
isServerV2 := doc.First(strings.Split("store.options.ss-pruning-option", ".")...) != nil
47+
isServerV2 := doc.First(strings.Split("store.options.sc-pruning-option", ".")...) != nil
4848

4949
// allow to skip validation
5050
if !skipValidate && !isServerV2 {

0 commit comments

Comments
 (0)