diff options
author | Toshiki Sonoda <sonoda.toshiki@fujitsu.com> | 2022-06-14 14:04:03 +0900 |
---|---|---|
committer | Toshiki Sonoda <sonoda.toshiki@fujitsu.com> | 2022-06-14 14:04:03 +0900 |
commit | 4811cb110accec51df168742df6a319f48ed37b6 (patch) | |
tree | e6128ffefd9355620747002031ca4ca17811e81c /pkg/domain/entities | |
parent | c044d455a1f42447fa800f0a5b4e83a7e271dbeb (diff) | |
download | podman-4811cb110accec51df168742df6a319f48ed37b6.tar.gz podman-4811cb110accec51df168742df6a319f48ed37b6.tar.bz2 podman-4811cb110accec51df168742df6a319f48ed37b6.zip |
podman system prune support prune unused networks
This is an enhancement for the podman system prune feature.
In this issue, it is mentioned that 'network prune' should be
wired into 'podman system prune'
https://github.com/containers/podman/issues/8673
Therefore, I add the function to remove unused networks.
Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r-- | pkg/domain/entities/system.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/entities/system.go b/pkg/domain/entities/system.go index 21026477d..331d2bcdc 100644 --- a/pkg/domain/entities/system.go +++ b/pkg/domain/entities/system.go @@ -28,6 +28,7 @@ type SystemPruneReport struct { PodPruneReport []*PodPruneReport ContainerPruneReports []*reports.PruneReport ImagePruneReports []*reports.PruneReport + NetworkPruneReports []*reports.PruneReport VolumePruneReports []*reports.PruneReport ReclaimedSpace uint64 } |