Skip to content

Commit

Permalink
Use zap.Stringer
Browse files Browse the repository at this point in the history
  • Loading branch information
linasm committed Jan 15, 2021
1 parent df62aa6 commit fc2bef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dbnode/storage/shard.go
Original file line number Diff line number Diff line change
Expand Up @@ -860,9 +860,9 @@ func (s *dbShard) purgeExpiredSeries(expiredEntries []*lookup.Entry) {
// The contract requires all entries to have count >= 1.
if count < 1 {
s.logger.Error("purgeExpiredSeries encountered invalid series read/write count",
zap.String("namespace", s.namespace.ID().String()),
zap.Stringer("namespace", s.namespace.ID()),
zap.Uint32("shard", s.ID()),
zap.String("series", series.ID().String()),
zap.Stringer("series", series.ID()),
zap.Int32("readerWriterCount", count))
continue
}
Expand Down

0 comments on commit fc2bef4

Please sign in to comment.