From 5be818e715d57f98e4a930632bc599e3fee3aaed Mon Sep 17 00:00:00 2001 From: baude Date: Mon, 11 Feb 2019 15:36:24 -0600 Subject: enable podman-remote volume prune allow users to remotely prune volumes. this is the last volume command for remote enablement. as such, the volume commands are being folded back into main because they are supported for both local and remote clients. also, enable all volume tests that do not use containers as containers are not enabled for the remote client yet. Signed-off-by: baude --- libpod/adapter/runtime.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libpod/adapter/runtime.go') diff --git a/libpod/adapter/runtime.go b/libpod/adapter/runtime.go index 3146cf5db..02ef9af07 100644 --- a/libpod/adapter/runtime.go +++ b/libpod/adapter/runtime.go @@ -305,3 +305,8 @@ func (r *LocalRuntime) Build(ctx context.Context, c *cliconfig.BuildValues, opti return r.Runtime.Build(ctx, options, dockerfiles...) } + +// PruneVolumes is a wrapper function for libpod PruneVolumes +func (r *LocalRuntime) PruneVolumes(ctx context.Context) ([]string, []error) { + return r.Runtime.PruneVolumes(ctx) +} -- cgit v1.2.3-54-g00ecf