Skip to content

Commit

Permalink
Update bridges/otellogr/convert.go
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Pająk <[email protected]>
  • Loading branch information
scorpionknifes and pellared authored Sep 19, 2024
1 parent d983fbe commit aa0a7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/otellogr/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func convertKVs(ctx context.Context, keysAndValues ...any) (context.Context, []l
for i := 0; i < len(keysAndValues); i += 2 {
k, ok := keysAndValues[i].(string)
if !ok {
// Ensure that the key is a string
// Ensure that the key is a string.
k = fmt.Sprintf("%v", keysAndValues[i])
}

Expand Down

0 comments on commit aa0a7cb

Please sign in to comment.