diff options
author | Matthew Heon <matthew.heon@pm.me> | 2020-06-24 14:10:29 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-06-24 15:12:56 -0400 |
commit | d78e83f47d487c1680ae0e2a1db42ef9d70caf30 (patch) | |
tree | c113c1f5a50a75b14ae3ed68bdf59d0ea04bc22c /pkg/domain/infra/abi/system.go | |
parent | 4ee66598c1201a7d191c03c2d2f067f847aaddf5 (diff) | |
download | podman-d78e83f47d487c1680ae0e2a1db42ef9d70caf30.tar.gz podman-d78e83f47d487c1680ae0e2a1db42ef9d70caf30.tar.bz2 podman-d78e83f47d487c1680ae0e2a1db42ef9d70caf30.zip |
Add support for dangling filter to volumes
The dangling filter determine whether a volume is dangling - IE,
it has no containers attached using it. Unlike our other filters,
this one is a boolean - must be true or false, not arbitrary
values.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'pkg/domain/infra/abi/system.go')
-rw-r--r-- | pkg/domain/infra/abi/system.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/system.go b/pkg/domain/infra/abi/system.go index 90002326e..0511289ab 100644 --- a/pkg/domain/infra/abi/system.go +++ b/pkg/domain/infra/abi/system.go @@ -330,7 +330,7 @@ func (ic *ContainerEngine) SystemDf(ctx context.Context, options entities.System if err != nil { return nil, err } - inUse, err := v.VolumesInUse() + inUse, err := v.VolumeInUse() if err != nil { return nil, err } |