Skip to content

Commit b0624a8

Browse files
authored
Fix string slice definition for FormatFlagOptions. (#607)
Signed-off-by: Brad Cowie <[email protected]>
1 parent e7f4912 commit b0624a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

promlog/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var (
3636
)
3737

3838
LevelFlagOptions = []string{"debug", "info", "warn", "error"}
39-
FormatFlagOptions = []string{"logfmt, json"}
39+
FormatFlagOptions = []string{"logfmt", "json"}
4040
)
4141

4242
// AllowedLevel is a settable identifier for the minimum level a log entry

0 commit comments

Comments
 (0)