From 2caa7c8c6ec4b22922195211aa95576a960733c6 Mon Sep 17 00:00:00 2001 From: Vladislav Sukhin Date: Fri, 8 Sep 2023 13:54:19 +0300 Subject: [PATCH] fix: show cli context --- cmd/kubectl-testkube/commands/common/cloudcontext.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kubectl-testkube/commands/common/cloudcontext.go b/cmd/kubectl-testkube/commands/common/cloudcontext.go index fb989c4cb16..178a2813616 100644 --- a/cmd/kubectl-testkube/commands/common/cloudcontext.go +++ b/cmd/kubectl-testkube/commands/common/cloudcontext.go @@ -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)