diff --git a/cli/command/cli_deprecated.go b/cli/command/cli_deprecated.go index 90137f2220..9b052db5d4 100644 --- a/cli/command/cli_deprecated.go +++ b/cli/command/cli_deprecated.go @@ -2,20 +2,12 @@ package command import ( "context" - "path/filepath" - "github.com/docker/cli/cli/config" - manifeststore "github.com/docker/cli/cli/manifest/store" registryclient "github.com/docker/cli/cli/registry/client" "github.com/docker/docker/api/types/registry" ) type DeprecatedManifestClient interface { - // ManifestStore returns a store for local manifests - // - // Deprecated: use [manifeststore.NewStore] instead. This method is no longer used and will be removed in the next release. - ManifestStore() manifeststore.Store - // RegistryClient returns a client for communicating with a Docker distribution // registry. // @@ -23,13 +15,6 @@ type DeprecatedManifestClient interface { RegistryClient(bool) registryclient.RegistryClient } -// ManifestStore returns a store for local manifests -// -// Deprecated: use [manifeststore.NewStore] instead. This method is no longer used and will be removed in the next release. -func (*DockerCli) ManifestStore() manifeststore.Store { - return manifeststore.NewStore(filepath.Join(config.Dir(), "manifests")) -} - // RegistryClient returns a client for communicating with a Docker distribution // registry //