Merge pull request #4447 from thaJeztah/deprecate_NewStartOptions

cli/command/container: deprecate NewStartOptions
This commit is contained in:
Sebastiaan van Stijn 2023-07-19 15:05:04 +02:00 committed by GitHub
commit 803d4a9143
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,9 @@ type StartOptions struct {
Containers []string Containers []string
} }
// NewStartOptions creates a new StartOptions // NewStartOptions creates a new StartOptions.
//
// Deprecated: create a new [StartOptions] directly.
func NewStartOptions() StartOptions { func NewStartOptions() StartOptions {
return StartOptions{} return StartOptions{}
} }