File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
staging/src/k8s.io/kubectl/pkg/cmd/create Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ type CreateDeploymentOptions struct {
79
79
genericclioptions.IOStreams
80
80
}
81
81
82
- func NewCreateCreateDeploymentOptions (ioStreams genericclioptions.IOStreams ) * CreateDeploymentOptions {
82
+ func NewCreateDeploymentOptions (ioStreams genericclioptions.IOStreams ) * CreateDeploymentOptions {
83
83
return & CreateDeploymentOptions {
84
84
Port : - 1 ,
85
85
Replicas : 1 ,
@@ -91,7 +91,7 @@ func NewCreateCreateDeploymentOptions(ioStreams genericclioptions.IOStreams) *Cr
91
91
// NewCmdCreateDeployment is a macro command to create a new deployment.
92
92
// This command is better known to users as `kubectl create deployment`.
93
93
func NewCmdCreateDeployment (f cmdutil.Factory , ioStreams genericclioptions.IOStreams ) * cobra.Command {
94
- o := NewCreateCreateDeploymentOptions (ioStreams )
94
+ o := NewCreateDeploymentOptions (ioStreams )
95
95
cmd := & cobra.Command {
96
96
Use : "deployment NAME --image=image -- [COMMAND] [args...]" ,
97
97
DisableFlagsInUseLine : true ,
You can’t perform that action at this time.
0 commit comments