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 @@ -383,6 +383,8 @@ func NewKubectlCommand(o KubectlOptions) *cobra.Command {
383
383
// Avoid import cycle by setting ValidArgsFunction here instead of in NewCmdGet()
384
384
getCmd := get .NewCmdGet ("kubectl" , f , o .IOStreams )
385
385
getCmd .ValidArgsFunction = utilcomp .ResourceTypeAndNameCompletionFunc (f )
386
+ debugCmd := debug .NewCmdDebug (f , o .IOStreams )
387
+ debugCmd .ValidArgsFunction = utilcomp .ResourceTypeAndNameCompletionFunc (f )
386
388
387
389
groups := templates.CommandGroups {
388
390
{
@@ -434,7 +436,7 @@ func NewKubectlCommand(o KubectlOptions) *cobra.Command {
434
436
proxyCmd ,
435
437
cp .NewCmdCp (f , o .IOStreams ),
436
438
auth .NewCmdAuth (f , o .IOStreams ),
437
- debug . NewCmdDebug ( f , o . IOStreams ) ,
439
+ debugCmd ,
438
440
events .NewCmdEvents (f , o .IOStreams ),
439
441
},
440
442
},
You can’t perform that action at this time.
0 commit comments