Skip to content

Commit

Permalink
etcdserver: remove dup percentage sign in log
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangjianweibj authored and gyuho committed Sep 5, 2019
1 parent 8b053b0 commit d5f79ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcdserver/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func monitorFileDescriptor(lg *zap.Logger, done <-chan struct{}) {
}
if used >= limit/5*4 {
if lg != nil {
lg.Warn("80%% of file descriptors are used", zap.Uint64("used", used), zap.Uint64("limit", limit))
lg.Warn("80% of file descriptors are used", zap.Uint64("used", used), zap.Uint64("limit", limit))
} else {
plog.Warningf("80%% of the file descriptor limit is used [used = %d, limit = %d]", used, limit)
}
Expand Down

0 comments on commit d5f79ad

Please sign in to comment.