Skip to content

Commit

Permalink
Define local var kubel--kubernetes-resources-list-cached (abrochard#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpassen authored Dec 31, 2023
1 parent 58e0e98 commit f6858cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kubel.el
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ CMD is the command string to run."

(defvar-local kubel--selected-items '())

(defvar-local kubel--kubernetes-resources-list-cached nil)

(defun kubel--kubernetes-resources-list ()
"Get list of resources from cache or from fetching the api resource."
(if (null kubel--kubernetes-resources-list-cached)
Expand Down

0 comments on commit f6858cc

Please sign in to comment.