Skip to content

Commit

Permalink
Change Bytes to IBytes for non-daemon mode
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky committed Mar 23, 2024
1 parent 9f559a8 commit ca70a5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ func printTopValues(displayRecord map[string]time.Time, useLock bool) {
}
}
}
log.Printf("%s%s%s: %s %d %s %s (from %s, last accessed %s)%s\n", fmtStart, key, connection, humanize.Bytes(total), reqTotal,
humanize.Bytes(average), last, lastUpdateTime, lastAccessTime, fmtEnd)
log.Printf("%s%s%s: %s %d %s %s (from %s, last accessed %s)%s\n", fmtStart, key, connection, humanize.IBytes(total), reqTotal,
humanize.IBytes(average), last, lastUpdateTime, lastAccessTime, fmtEnd)
if displayRecord != nil {
displayRecord[key] = lastURLAccessDate[key]
}
Expand Down

0 comments on commit ca70a5c

Please sign in to comment.