From 2c8431c1f8651976ae1f1d457d62f60a80fbf247 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Mon, 24 Jun 2024 11:33:13 +0200 Subject: [PATCH] Fix bug in argument parsing for logger creation Signed-off-by: Evan Lezar --- internal/runtime/logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/runtime/logger.go b/internal/runtime/logger.go index 1b950026..adb786ec 100644 --- a/internal/runtime/logger.go +++ b/internal/runtime/logger.go @@ -238,7 +238,7 @@ func parseArgs(args []string) loggerConfig { var value string switch { case len(parts) == 2: - value = parts[2] + value = parts[1] case i+1 < len(args): value = args[i+1] i++