Merge pull request #3898 from dcbw/remove-decompose

image: remove unused Decompose method
This commit is contained in:
OpenShift Merge Robot
2019-08-28 17:00:45 +02:00
committed by GitHub

View File

@ -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