summaryrefslogtreecommitdiff
path: root/libpod/image
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2019-08-28 08:58:33 -0500
committerDan Williams <dcbw@redhat.com>2019-08-28 08:59:33 -0500
commit90cddf36bd19e571d849c283e3b724719d33de50 (patch)
tree5b52456f17f1b54e19d654c8a5487402503c8bd3 /libpod/image
parente5c5a33c877d006857389769b3b6fa8f3d7a36d4 (diff)
downloadpodman-90cddf36bd19e571d849c283e3b724719d33de50.tar.gz
podman-90cddf36bd19e571d849c283e3b724719d33de50.tar.bz2
podman-90cddf36bd19e571d849c283e3b724719d33de50.zip
image: remove unused Decompose method
Decompose() returns an error defined in CNI which has been removed upstream because it had no in-tree (eg in CNI) users. Signed-off-by: Dan Williams <dcbw@redhat.com>
Diffstat (limited to 'libpod/image')
-rw-r--r--libpod/image/image.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/libpod/image/image.go b/libpod/image/image.go
index 1ff271a4d..0be6eeeb9 100644
--- a/libpod/image/image.go
+++ b/libpod/image/image.go
@@ -12,7 +12,6 @@ import (
"syscall"
"time"
- types2 "github.com/containernetworking/cni/pkg/types"
cp "github.com/containers/image/copy"
"github.com/containers/image/directory"
dockerarchive "github.com/containers/image/docker/archive"
@@ -384,11 +383,6 @@ func (i *Image) Remove(ctx context.Context, force bool) error {
return nil
}
-// Decompose an Image
-func (i *Image) Decompose() error {
- return types2.NotImplementedError
-}
-
// TODO: Rework this method to not require an assembly of the fq name with transport
/*
// GetManifest tries to GET an images manifest, returns nil on success and err on failure