From 782deffe83986e5eb13040f5df52cb0aa63b8c87 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 25 Sep 2025 17:51:09 +0200 Subject: [PATCH] cli/command: remove deprecated DockerCli.DefaultVersion This function was used internally, but is no longer used. This method was deprecated in 0270b2d6f764f4d564deba1ac504527bdcf65da1, 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 --- cli/command/cli.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cli/command/cli.go b/cli/command/cli.go index 674e3879f2..832a0161c4 100644 --- a/cli/command/cli.go +++ b/cli/command/cli.go @@ -85,13 +85,6 @@ type DockerCli struct { enableGlobalMeter, enableGlobalTracer bool } -// DefaultVersion returns [client.MaxAPIVersion]. -// -// Deprecated: this function is no longer used and will be removed in the next release. -func (*DockerCli) DefaultVersion() string { - return client.MaxAPIVersion -} - // CurrentVersion returns the API version currently negotiated, or the default // version otherwise. func (cli *DockerCli) CurrentVersion() string {