Skip to content

Commit 103fa2a

Browse files
grobinson-grafanath0th
authored andcommitted
Fix log line in featurecontrol (prometheus#3719)
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]> Signed-off-by: Gokhan Sari <[email protected]>
1 parent 63e4188 commit 103fa2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

featurecontrol/featurecontrol.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func NewFlags(logger log.Logger, features string) (Flagger, error) {
9797
level.Warn(logger).Log("msg", "Classic mode enabled")
9898
case FeatureUTF8StrictMode:
9999
opts = append(opts, enableUTF8StrictMode())
100-
level.Warn(logger).Log("msg", "UTF-8 mode enabled")
100+
level.Warn(logger).Log("msg", "UTF-8 strict mode enabled")
101101
default:
102102
return nil, fmt.Errorf("Unknown option '%s' for --enable-feature", feature)
103103
}

0 commit comments

Comments
 (0)