From 8aabec4ea4a75264006466d872f1a9b1a5ebfc8c Mon Sep 17 00:00:00 2001 From: Brad Cowie Date: Thu, 21 Mar 2024 16:30:21 +1300 Subject: [PATCH] Fix string slice definition for FormatFlagOptions. Signed-off-by: Brad Cowie --- promlog/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/promlog/log.go b/promlog/log.go index 2449c90f..50746544 100644 --- a/promlog/log.go +++ b/promlog/log.go @@ -36,7 +36,7 @@ var ( ) LevelFlagOptions = []string{"debug", "info", "warn", "error"} - FormatFlagOptions = []string{"logfmt, json"} + FormatFlagOptions = []string{"logfmt", "json"} ) // AllowedLevel is a settable identifier for the minimum level a log entry