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 ade9f40 commit d983fbe
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 @@ -22,7 +22,7 @@ func convertKVs(ctx context.Context, keysAndValues ...any) (context.Context, []l
return ctx, nil
}
if len(keysAndValues)%2 != 0 {
// Ensure an odd number of items here does not corrupt the list
// Ensure an odd number of items here does not corrupt the list.
keysAndValues = append(keysAndValues, nil)
}

Expand Down

0 comments on commit d983fbe

Please sign in to comment.