Skip to content

Commit

Permalink
Merge pull request #573 from elezar/bugfix-in-log-argument
Browse files Browse the repository at this point in the history
Fix bug in argument parsing for logger creation
  • Loading branch information
elezar committed Jul 1, 2024
2 parents f35f390 + 2c8431c commit f55aac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/runtime/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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++
Expand Down

0 comments on commit f55aac0

Please sign in to comment.