diff --git a/.gitignore b/.gitignore index 83a66a6a..61c9bfdd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .vscode +.idea k9s.log .envrc cov.out diff --git a/internal/config/ns.go b/internal/config/ns.go index d1ff92be..46f7fd9d 100644 --- a/internal/config/ns.go +++ b/internal/config/ns.go @@ -35,8 +35,8 @@ func (n *Namespace) Validate(c Connection, ks KubeSettings) { } nn := ks.NamespaceNames(nns) if !n.isAllNamespace() && !InList(nn, n.Active) { - log.Error().Msgf("[Config] Validation error active namespace `%s does not exists", n.Active) - panic(fmt.Errorf("Invalid namespace. The provided namespace `%s does not exists", n.Active)) + log.Error().Msgf("[Config] Validation error active namespace `%s` does not exists", n.Active) + panic(fmt.Errorf("Invalid namespace. The provided namespace `%s` does not exists", n.Active)) } for _, ns := range n.Favorites {