Skip to content

Commit

Permalink
chore: change disk usage debug log format to decimal (#1727)
Browse files Browse the repository at this point in the history
Signed-off-by: bigerous <cuidajun.cdj@alibaba-inc.com>
  • Loading branch information
bigerous committed Oct 9, 2022
1 parent a32d64f commit 277eccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/daemon/storage/storage_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ func (s *storageManager) diskUsageExceed() (exceed bool, bytes int64) {
logger.Warnf("get %s disk usage error: %s", s.storeOption.DataPath, err)
return false, 0
}
logger.Debugf("disk usage: %#v", usage)
logger.Debugf("disk usage: %+v", usage)
if usage.UsedPercent < s.storeOption.DiskGCThresholdPercent {
return false, 0
}
Expand Down

0 comments on commit 277eccc

Please sign in to comment.