Skip to content

Commit 8f0d581

Browse files
committed
cli/command: remove deprecated RegistryClient from CLI interface
This method was a shallow wrapper around registryclient.NewRegistryClient but due to its signature resulted in various dependencies becoming a dependency of the "command" package. Consequence of this was that cli-plugins, which need the cli/command package, would also get those dependencies. It is no longer used, and was deprecated in 8ad0721. This patch removes the RegistryClient method from the interface Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 4b00ed5 commit 8f0d581

2 files changed

Lines changed: 0 additions & 28 deletions

File tree

cli/command/cli.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ type Cli interface {
5656
CurrentContext() string
5757
DockerEndpoint() docker.Endpoint
5858
TelemetryClient
59-
DeprecatedManifestClient
6059
}
6160

6261
// DockerCli is an instance the docker command line client.

cli/command/cli_deprecated.go

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)