kubecontext: fix context, namespace comparison

This commit is contained in:
Kevin McBride 2018-07-02 13:33:23 -07:00 committed by GitHub
parent 0e3c1924fe
commit 534ec66466
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1429,7 +1429,7 @@ prompt_kubecontext() {
local k8s_final_text=""
if [[ "$k8s_context" == "k8s_namespace" ]]; then
if [[ "$k8s_context" == "$k8s_namespace" ]]; then
# No reason to print out the same identificator twice
k8s_final_text="$k8s_context"
else