summaryrefslogtreecommitdiff
path: root/plugins/logger/encoder.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/logger/encoder.go')
-rw-r--r--plugins/logger/encoder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/logger/encoder.go b/plugins/logger/encoder.go
index 66cd84f1..4ff583c4 100644
--- a/plugins/logger/encoder.go
+++ b/plugins/logger/encoder.go
@@ -61,6 +61,6 @@ func UTCTimeEncoder(t time.Time, enc zapcore.PrimitiveArrayEncoder) {
// returns string hash
func stringHash(name string, base int) int {
h := fnv.New32a()
- h.Write([]byte(name))
+ _, _ = h.Write([]byte(name))
return int(h.Sum32()) % base
}