emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/kubed e545b90c54 05/12: ; (kubed-resource-names): Defau


From: ELPA Syncer
Subject: [elpa] externals/kubed e545b90c54 05/12: ; (kubed-resource-names): Default to local context and namespace
Date: Thu, 15 Aug 2024 12:58:29 -0400 (EDT)

branch: externals/kubed
commit e545b90c541776bd31462e31fcc95a1df4431208
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eshel Yaron <me@eshelyaron.com>

    ; (kubed-resource-names): Default to local context and namespace
---
 kubed.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kubed.el b/kubed.el
index 558aeb29db..2dcbba6238 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]