File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
staging/src/k8s.io/kubectl/pkg/cmd Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -389,6 +389,8 @@ func NewKubectlCommand(o KubectlOptions) *cobra.Command {
389
389
// Avoid import cycle by setting ValidArgsFunction here instead of in NewCmdGet()
390
390
getCmd := get .NewCmdGet ("kubectl" , f , o .IOStreams )
391
391
getCmd .ValidArgsFunction = utilcomp .ResourceTypeAndNameCompletionFunc (f )
392
+ debugCmd := debug .NewCmdDebug (f , o .IOStreams )
393
+ debugCmd .ValidArgsFunction = utilcomp .ResourceTypeAndNameCompletionFunc (f )
392
394
393
395
groups := templates.CommandGroups {
394
396
{
@@ -440,7 +442,7 @@ func NewKubectlCommand(o KubectlOptions) *cobra.Command {
440
442
proxyCmd ,
441
443
cp .NewCmdCp (f , o .IOStreams ),
442
444
auth .NewCmdAuth (f , o .IOStreams ),
443
- debug . NewCmdDebug ( f , o . IOStreams ) ,
445
+ debugCmd ,
444
446
events .NewCmdEvents (f , o .IOStreams ),
445
447
},
446
448
},
You can’t perform that action at this time.
0 commit comments