Skip to content

Commit 782deff

Browse files
committed
cli/command: remove deprecated DockerCli.DefaultVersion
This function was used internally, but is no longer used. This method was deprecated in 0270b2d, which was included in the 28.5.0 release, and has no known external users, so removing it for 29.0 Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent e25843b commit 782deff

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

cli/command/cli.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,6 @@ type DockerCli struct {
8585
enableGlobalMeter, enableGlobalTracer bool
8686
}
8787

88-
// DefaultVersion returns [client.MaxAPIVersion].
89-
//
90-
// Deprecated: this function is no longer used and will be removed in the next release.
91-
func (*DockerCli) DefaultVersion() string {
92-
return client.MaxAPIVersion
93-
}
94-
9588
// CurrentVersion returns the API version currently negotiated, or the default
9689
// version otherwise.
9790
func (cli *DockerCli) CurrentVersion() string {

0 commit comments

Comments
 (0)