Fix bug in argument parsing for logger creation

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2024-06-24 11:33:13 +02:00
parent f35f3903ab
commit 2c8431c1f8

View File

@ -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++