From 298bddcc233af9e29f2fe9014c3c211712d5f633 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 19 Jul 2023 14:12:07 +0200 Subject: [PATCH] cli/command/container: deprecate NewStartOptions It's unused in the CLI itself, and does nothing other than initializing a new, empty StartOptions struct. Signed-off-by: Sebastiaan van Stijn --- cli/command/container/start.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/command/container/start.go b/cli/command/container/start.go index b50f6ba19a..0430bb090a 100644 --- a/cli/command/container/start.go +++ b/cli/command/container/start.go @@ -27,7 +27,9 @@ type StartOptions struct { Containers []string } -// NewStartOptions creates a new StartOptions +// NewStartOptions creates a new StartOptions. +// +// Deprecated: create a new [StartOptions] directly. func NewStartOptions() StartOptions { return StartOptions{} }