Skip to content

Commit 298bddc

Browse files
committed
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>
1 parent 9b79cba commit 298bddc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cli/command/container/start.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ type StartOptions struct {
2727
Containers []string
2828
}
2929

30-
// NewStartOptions creates a new StartOptions
30+
// NewStartOptions creates a new StartOptions.
31+
//
32+
// Deprecated: create a new [StartOptions] directly.
3133
func NewStartOptions() StartOptions {
3234
return StartOptions{}
3335
}

0 commit comments

Comments
 (0)