mirror of
https://github.com/containers/podman.git
synced 2025-12-19 07:09:39 +08:00
podman-remote volume rm
add the ability to remove/delete volumes with the podman remote client. Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user