summaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2020-09-04 11:08:45 -0400
committerQi Wang <qiwan@redhat.com>2020-09-04 11:11:39 -0400
commitf6a988547be825ad78d9fe106181eafbc3ddf20c (patch)
treed2d1dae4938c748c135b9ff70350a5fb2e7561e8 /pkg/domain/entities
parentfa487a65220951e84779f200f48780666b4b9209 (diff)
downloadpodman-f6a988547be825ad78d9fe106181eafbc3ddf20c.tar.gz
podman-f6a988547be825ad78d9fe106181eafbc3ddf20c.tar.bz2
podman-f6a988547be825ad78d9fe106181eafbc3ddf20c.zip
Fix system df inconsistent
Use RWSzir as system df verbose containers size to remain consistent with the summery. Volume is reclaimable only if not used by container. Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r--pkg/domain/entities/system.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkg/domain/entities/system.go b/pkg/domain/entities/system.go
index af355b0af..bde2b6ef2 100644
--- a/pkg/domain/entities/system.go
+++ b/pkg/domain/entities/system.go
@@ -75,9 +75,10 @@ type SystemDfContainerReport struct {
// SystemDfVolumeReport describes a volume and its size
type SystemDfVolumeReport struct {
- VolumeName string
- Links int
- Size int64
+ VolumeName string
+ Links int
+ Size int64
+ ReclaimableSize int64
}
// SystemResetOptions describes the options for resetting your