From: Eshel Yaron Date: Wed, 14 Aug 2024 17:44:43 +0000 (+0200) Subject: ; (kubed-resource-names): Default to local context and namespace X-Git-Tag: v0.3.2~7 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e545b90c541776bd31462e31fcc95a1df4431208;p=kubed.git ; (kubed-resource-names): Default to local context and namespace --- diff --git a/kubed.el b/kubed.el index 558aeb2..2dcbba6 100644 --- a/kubed.el +++ b/kubed.el @@ -2963,8 +2963,8 @@ resource types." (defun kubed-resource-names (type &optional context namespace) "Return list of Kuberenetes resources of type TYPE in NAMESPACE via CONTEXT." - (let ((context (or context (kubed-current-context))) - (namespace (or namespace (kubed-current-namespace context)))) + (let ((context (or context (kubed-local-context))) + (namespace (or namespace (kubed-local-namespace context)))) (unless (kubed--alist type context namespace) (let ((proc (kubed-update type context namespace))) (while (process-live-p proc)