Fix log line in featurecontrol (#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 <george.robinson@grafana.com>
This commit is contained in:
parent
2fd1b52c98
commit
604d442f30
|
@ -97,7 +97,7 @@ func NewFlags(logger log.Logger, features string) (Flagger, error) {
|
||||||
level.Warn(logger).Log("msg", "Classic mode enabled")
|
level.Warn(logger).Log("msg", "Classic mode enabled")
|
||||||
case FeatureUTF8StrictMode:
|
case FeatureUTF8StrictMode:
|
||||||
opts = append(opts, enableUTF8StrictMode())
|
opts = append(opts, enableUTF8StrictMode())
|
||||||
level.Warn(logger).Log("msg", "UTF-8 mode enabled")
|
level.Warn(logger).Log("msg", "UTF-8 strict mode enabled")
|
||||||
default:
|
default:
|
||||||
return nil, fmt.Errorf("Unknown option '%s' for --enable-feature", feature)
|
return nil, fmt.Errorf("Unknown option '%s' for --enable-feature", feature)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue