mirror of https://github.com/docker/cli.git
cli/command/container: remove deprecated NewStartOptions
This function was deprecated in 298bddcc23
for
v25.0, and unused. This patch removes the function.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
f18a476b6d
commit
2402dac819
|
@ -28,13 +28,6 @@ type StartOptions struct {
|
||||||
Containers []string
|
Containers []string
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewStartOptions creates a new StartOptions.
|
|
||||||
//
|
|
||||||
// Deprecated: create a new [StartOptions] directly.
|
|
||||||
func NewStartOptions() StartOptions {
|
|
||||||
return StartOptions{}
|
|
||||||
}
|
|
||||||
|
|
||||||
// NewStartCommand creates a new cobra.Command for `docker start`
|
// NewStartCommand creates a new cobra.Command for `docker start`
|
||||||
func NewStartCommand(dockerCli command.Cli) *cobra.Command {
|
func NewStartCommand(dockerCli command.Cli) *cobra.Command {
|
||||||
var opts StartOptions
|
var opts StartOptions
|
||||||
|
|
Loading…
Reference in New Issue