Получение ошибки jsonpath при выполнении любых команд в zsh - PullRequest
0 голосов
/ 29 мая 2020
error: error executing jsonpath "{.contexts[?(@.name==\"\")].context.namespace}": Error executing template: <nil> is not array or slice and cannot be filtered. Printing more information for debugging the template:
    template was:
        {.contexts[?(@.name=="")].context.namespace}
    object given to jsonpath engine was:
        map[string]interface {}{"apiVersion":"v1", "clusters":interface {}(nil), "contexts":interface {}(nil), "current-context":"", "kind":"Config", "preferences":map[string]interface {}{}, "users":interface {}(nil)}
...