diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-02-12 13:37:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-12 13:37:22 +0100 |
commit | faafdcf1f3509aeb83fd43729fa7c40ea360a3ea (patch) | |
tree | 3d12c6a2f9b3e4c44b8db4aa8e9f51c15575afad /libpod/adapter/runtime.go | |
parent | 89237033fd38d91308ff7e5b9511aff41f44e0e8 (diff) | |
parent | 3101364a3cf00a2b2562bc2510262c3ee992bbab (diff) | |
download | podman-faafdcf1f3509aeb83fd43729fa7c40ea360a3ea.tar.gz podman-faafdcf1f3509aeb83fd43729fa7c40ea360a3ea.tar.bz2 podman-faafdcf1f3509aeb83fd43729fa7c40ea360a3ea.zip |
Merge pull request #2315 from baude/remotevolumerm
podman-remote volume rm
Diffstat (limited to 'libpod/adapter/runtime.go')
-rw-r--r-- | libpod/adapter/runtime.go | 5 |
1 files changed, 5 insertions, 0 deletions
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) +} |