Skip to content

Commit

Permalink
cli/command/container: deprecate NewStartOptions
Browse files Browse the repository at this point in the history
It's unused in the CLI itself, and does nothing other than
initializing a new, empty StartOptions struct.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah committed Jul 19, 2023
1 parent 9b79cba commit 298bddc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli/command/container/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
}
Expand Down

0 comments on commit 298bddc

Please sign in to comment.