From 2402dac8190cc9b8e1c2cee3533b065ba50e39c6 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 20 Jan 2024 21:47:35 +0100 Subject: [PATCH] cli/command/container: remove deprecated NewStartOptions This function was deprecated in 298bddcc233af9e29f2fe9014c3c211712d5f633 for v25.0, and unused. This patch removes the function. Signed-off-by: Sebastiaan van Stijn --- cli/command/container/start.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cli/command/container/start.go b/cli/command/container/start.go index 4a2fe1988a37..5cc019a73e8a 100644 --- a/cli/command/container/start.go +++ b/cli/command/container/start.go @@ -28,13 +28,6 @@ type StartOptions struct { Containers []string } -// NewStartOptions creates a new StartOptions. -// -// Deprecated: create a new [StartOptions] directly. -func NewStartOptions() StartOptions { - return StartOptions{} -} - // NewStartCommand creates a new cobra.Command for `docker start` func NewStartCommand(dockerCli command.Cli) *cobra.Command { var opts StartOptions