mirror of
https://github.com/dsx-ai-factory/nvke.git
synced 2026-12-07 04:35:58 +08:00
* fix(cli): say what to do when the NVKE API refuses nvkectl A 401, or a 403 from the API's authentication or authorization, now ends with what the caller can do: check the kubeconfig and log in again, ask to be admitted, or ask for a role. Any other 403, such as one from a proxy in front of the API, keeps the server's message alone. Delete cluster now formats its error like every other call instead of printing the raw JSON body. Signed-off-by: dbudris <dbudris@nvidia.com> * fix(cli): drop the empty message before a refusal hint A refusal with an empty body rendered as '401 Unauthorized: : the NVKE API ...'. Use the hint alone when there is no message. Signed-off-by: dbudris <dbudris@nvidia.com> --------- Signed-off-by: dbudris <dbudris@nvidia.com>