From 3101364a3cf00a2b2562bc2510262c3ee992bbab Mon Sep 17 00:00:00 2001 From: baude Date: Sun, 10 Feb 2019 19:34:36 -0600 Subject: podman-remote volume rm add the ability to remove/delete volumes with the podman remote client. 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 050ea6ed4..2b1ddb09d 100644 --- a/libpod/adapter/runtime.go +++ b/libpod/adapter/runtime.go @@ -185,3 +185,8 @@ func (r *LocalRuntime) CreateVolume(ctx context.Context, c *cliconfig.VolumeCrea } return newVolume.Name(), nil } + +// RemoveVolumes is a wrapper to remove volumes +func (r *LocalRuntime) RemoveVolumes(ctx context.Context, c *cliconfig.VolumeRmValues) ([]string, error) { + return r.Runtime.RemoveVolumes(ctx, c.InputArgs, c.All, c.Force) +} -- cgit v1.2.3-54-g00ecf