Skip to content

Commit 371a54d

Browse files
committed
remove unused Limit on Stat
as I moved it to the usage.Report since there is only one limit per check
1 parent 5a8ae0b commit 371a54d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

usage/usage.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ type Report struct {
2121

2222
// TODO embed fstat.FilesystemStat? I do not necessarily want to expose its
2323
// HasReachedLimit method though
24-
// Stats are disk usage statistics of a disk that hit a set limit.
24+
// Stats are disk usage statistics of a disk.
2525
type Stats struct {
2626
Path string // path on a disk that hit the set limit
27-
Limit uint64 // limit that the disk usage reached or exceeded
2827
Free uint64 // number of free bytes available
2928
Used uint64 // number of used bytes
3029
Total uint64 // total number of bytes

0 commit comments

Comments
 (0)