mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-18 07:45:13 +00:00
This patch provides a more relevant error message when a client configuration option is passed with an invalid or non-existent value. `$ kubectl get pods --cluster="non-existent"` ``` error: No configuration file found, please login or point to an existing file ``` `$ kubectl get pods --cluster="non-existent"` ``` error: cluster "non-existent" does not exist ```