We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ea828 commit a689ca8Copy full SHA for a689ca8
interceptors/logging/logging.go
@@ -80,7 +80,7 @@ func (i *iter) At() (k string, v any) {
80
// Any duplicates in the added or current fields will be deduplicated where first occurrence takes precedence.
81
func (f Fields) WithUnique(add Fields) Fields {
82
if len(add) == 0 {
83
- n := make(Fields, len(f), len(f))
+ n := make(Fields, len(f))
84
copy(n, f)
85
return n
86
}
0 commit comments