Commit 1014831a authored by Abhi Shah's avatar Abhi Shah

Merge pull request #7959 from eparis/bash-completions-fun-if-crap

Remove useless bash conditional
parents 90c11061 d28660ae
......@@ -174,9 +174,6 @@ __kubectl_get_resource()
return 1
fi
__kubectl_parse_get "${nouns[${#nouns[@]} -1]}"
if [[ $? -eq 0 ]]; then
return 0
fi
}
# $1 is the name of the pod we want to get the list of containers inside
......
......@@ -45,9 +45,6 @@ __kubectl_get_resource()
return 1
fi
__kubectl_parse_get "${nouns[${#nouns[@]} -1]}"
if [[ $? -eq 0 ]]; then
return 0
fi
}
# $1 is the name of the pod we want to get the list of containers inside
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment