Skip to content

Commit

Permalink
Update featuregate/flag.go
Browse files Browse the repository at this point in the history
Co-authored-by: Pablo Baeyens <[email protected]>
  • Loading branch information
atoulme and mx-psi authored Jul 12, 2023
1 parent e79d6c2 commit 7e2e8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion featuregate/flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (f *flagValue) Set(s string) error {
enabled, ok := gatesEnabled[gate.id]
if !ok {
if *f.strict && (gate.stage == StageAlpha || gate.stage == StageBeta) {
errs = multierr.Append(errs, fmt.Errorf("gate %q is in %s and is not explicitly configured", gate.id, gate.stage))
errs = multierr.Append(errs, fmt.Errorf("gate %q is in %s and must be explicitly configured", gate.id, gate.stage))
}
return
}
Expand Down

0 comments on commit 7e2e8ac

Please sign in to comment.