Skip to content

Commit

Permalink
Fix log line in featurecontrol (#3719)
Browse files Browse the repository at this point in the history
This commit fixes a log line in the featurecontrol package which
should be "UTF-8 strict mode" and not "UTF-8 mode".

Signed-off-by: George Robinson <[email protected]>
  • Loading branch information
grobinson-grafana authored Feb 13, 2024
1 parent 2fd1b52 commit 604d442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion featurecontrol/featurecontrol.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func NewFlags(logger log.Logger, features string) (Flagger, error) {
level.Warn(logger).Log("msg", "Classic mode enabled")
case FeatureUTF8StrictMode:
opts = append(opts, enableUTF8StrictMode())
level.Warn(logger).Log("msg", "UTF-8 mode enabled")
level.Warn(logger).Log("msg", "UTF-8 strict mode enabled")
default:
return nil, fmt.Errorf("Unknown option '%s' for --enable-feature", feature)
}
Expand Down

0 comments on commit 604d442

Please sign in to comment.