Skip to content
This repository has been archived by the owner on Jul 30, 2023. It is now read-only.

Commit

Permalink
disable debug
Browse files Browse the repository at this point in the history
  • Loading branch information
hidetatz committed Dec 31, 2022
1 parent 2f8d86e commit a815efa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions command/subcommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func isColoringSupported(sc kubectl.Subcommand) bool {
// when you add something here, it won't be colorized
unsupported := []kubectl.Subcommand{
kubectl.Create,
kubectl.Debug,
kubectl.Delete,
kubectl.Edit,
kubectl.Attach,
Expand Down
2 changes: 2 additions & 0 deletions kubectl/subcommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ const (
Options
Ctx
Ns
Debug
)

var strToSubcommand = map[string]Subcommand{
Expand Down Expand Up @@ -119,6 +120,7 @@ var strToSubcommand = map[string]Subcommand{
"options": Options,
"ctx": Ctx,
"ns": Ns,
"debug": Debug,
}

func InspectSubcommand(command string) (Subcommand, bool) {
Expand Down

0 comments on commit a815efa

Please sign in to comment.