Skip to content

Commit

Permalink
fix: show cli context
Browse files Browse the repository at this point in the history
  • Loading branch information
vsukhin committed Sep 8, 2023
1 parent a74028e commit 2caa7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kubectl-testkube/commands/common/cloudcontext.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func UiContextHeader(cmd *cobra.Command, cfg config.Data) {
header += ui.DarkGray("Env: ") + ui.White(envName)
} else {
header += ui.DarkGray("Context: ") + ui.White(cfg.ContextType) + ui.DarkGray(" ("+Version+")") + separator
header += ui.DarkGray("Namespace: ") + ui.White(cfg.Namespace)
header += ui.DarkGray("Namespace: ") + ui.White(cmd.Flag("namespace").Value.String())
}

fmt.Println(header)
Expand Down

0 comments on commit 2caa7c8

Please sign in to comment.