(defun kubed-use-context (context)
"Set current Kubernetes context to CONTEXT."
(interactive
- (list (kubed-read-context "Use context" (kubed-current-context))))
+ (list (kubed-read-context "Use context" (kubed-local-context))))
(unless (zerop
(call-process
kubed-kubectl-program nil nil nil
(defun kubed-rename-context (old new)
"Rename Kubernetes context OLD to NEW."
(interactive
- (let ((old (kubed-read-context "Rename context" (kubed-current-context))))
+ (let ((old (kubed-read-context "Rename context" (kubed-local-context))))
(list old (read-string (format-prompt "Rename context to" old)
nil 'kubed-context-history old))))
(unless (zerop