summaryrefslogtreecommitdiff
path: root/libpod/runtime_volume_unsupported.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-18 07:46:04 -0400
committerGitHub <noreply@github.com>2021-09-18 07:46:04 -0400
commita9e95eb3274140318fe723dc60deb1627bfa31ec (patch)
treeb7cdc5c5c024a11e44d1b6e2704b21aa07df3bbb /libpod/runtime_volume_unsupported.go
parentfc4a47e0e7ef9404d725d3d1fc7beb621879640c (diff)
parentc692f7a18b0dc49aace5eddc61072667d25d6dc7 (diff)
downloadpodman-a9e95eb3274140318fe723dc60deb1627bfa31ec.tar.gz
podman-a9e95eb3274140318fe723dc60deb1627bfa31ec.tar.bz2
podman-a9e95eb3274140318fe723dc60deb1627bfa31ec.zip
Merge pull request #11628 from Luap99/remove-unsued-code
Remove unused code from libpod
Diffstat (limited to 'libpod/runtime_volume_unsupported.go')
-rw-r--r--libpod/runtime_volume_unsupported.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/libpod/runtime_volume_unsupported.go b/libpod/runtime_volume_unsupported.go
deleted file mode 100644
index da7ee3552..000000000
--- a/libpod/runtime_volume_unsupported.go
+++ /dev/null
@@ -1,21 +0,0 @@
-// +build !linux
-
-package libpod
-
-import (
- "context"
-
- "github.com/containers/podman/v3/libpod/define"
-)
-
-func (r *Runtime) removeVolume(ctx context.Context, v *Volume, force bool) error {
- return define.ErrNotImplemented
-}
-
-func (r *Runtime) newVolume(ctx context.Context, options ...VolumeCreateOption) (*Volume, error) {
- return nil, define.ErrNotImplemented
-}
-
-func (r *Runtime) NewVolume(ctx context.Context, options ...VolumeCreateOption) (*Volume, error) {
- return nil, define.ErrNotImplemented
-}