Skip to content

Commit

Permalink
Merge pull request #4877 from dysosmus/feat/align-prune-du
Browse files Browse the repository at this point in the history
align prune with disk usage (du) command behaviour
  • Loading branch information
jedevc authored Apr 25, 2024
2 parents 5152118 + ba17a00 commit 9c8832f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cache/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -1109,10 +1109,11 @@ func (cm *cacheManager) prune(ctx context.Context, ch chan client.UsageInfo, opt
}

c := &client.UsageInfo{
ID: cr.ID(),
Mutable: cr.mutable,
RecordType: recordType,
Shared: shared,
ID: cr.ID(),
Mutable: cr.mutable,
RecordType: recordType,
Shared: shared,
Description: cr.GetDescription(),
}

usageCount, lastUsedAt := cr.getLastUsed()
Expand Down

0 comments on commit 9c8832f

Please sign in to comment.