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 <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-07-19 14:12:07 +02:00
parent 9b79cbac0b
commit 298bddcc23
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 3 additions and 1 deletions

View File

@ -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{}
}