Fix missing __kubectl_parse_config

This commit is contained in:
Kazuki Suda 2017-06-11 07:12:23 +09:00
parent c577d97be9
commit 11230907b3

View File

@ -92,7 +92,7 @@ __kubectl_config_get_users()
} }
# $1 has to be "contexts", "clusters" or "users" # $1 has to be "contexts", "clusters" or "users"
__kubectl_config_get() __kubectl_parse_config()
{ {
local template kubectl_out local template kubectl_out
template="{{ range .$1 }}{{ .name }} {{ end }}" template="{{ range .$1 }}{{ .name }} {{ end }}"