mirror of https://github.com/docker/cli.git
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:
parent
9b79cbac0b
commit
298bddcc23
|
@ -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{}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue