Skip to content

Commit

Permalink
🧹 fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Preslav Gerchev <[email protected]>
  • Loading branch information
afiune and preslavgerchev authored Nov 21, 2024
1 parent bc797e9 commit e297c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers-sdk/v1/util/zerologadapter/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func convertToFields(keysAndValues ...interface{}) map[string]interface{} {
for i := 0; i < len(keysAndValues); i += 2 {
if i+1 < len(keysAndValues) {
keyString, ok := keysAndValues[i].(string)
if ok { // safelty first, eventhough we always expect a string
if ok { // safety first, eventhough we always expect a string
fields[keyString] = keysAndValues[i+1]
}
}
Expand Down

0 comments on commit e297c61

Please sign in to comment.