Skip to content

Commit

Permalink
chore: fix logs formatter
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <[email protected]>
  • Loading branch information
rustatian committed Nov 9, 2023
1 parent 4e74d37 commit 26b009b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func format(args []*v1.LogAttrs) []zap.Field {
fields := make([]zap.Field, 0, len(args))

for _, v := range args {
fields = append(fields, zap.String(v.GetValue(), v.GetValue()))
fields = append(fields, zap.String(v.GetKey(), v.GetValue()))
}

return fields
Expand Down

0 comments on commit 26b009b

Please sign in to comment.