From eb41a6420d20142e5cd33cd34e17654294c99c86 Mon Sep 17 00:00:00 2001 From: jreicher <50908707+jreicher@users.noreply.github.com> Date: Sat, 20 Apr 2024 01:21:41 +1000 Subject: [PATCH] Correct bracketing of describe resource under cursor (#131) --- kubel.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubel.el b/kubel.el index f32aa76..6b89be4 100644 --- a/kubel.el +++ b/kubel.el @@ -680,7 +680,7 @@ Use C-c C-c to kubectl apply the current yaml buffer." (process-name (format "kubel - %s - %s" kubel-resource resource)) (callback (lambda () (goto-char (point-min))))) (if describe - (kubel--exec process-name (list "describe" kubel-resource (kubel--get-resource-under-cursor) nil callback)) + (kubel--exec process-name (list "describe" kubel-resource (kubel--get-resource-under-cursor)) nil callback) (kubel--exec process-name (list "get" kubel-resource (kubel--get-resource-under-cursor) "-o" kubel-output) nil callback)) (when (or (string-equal kubel-output "yaml") (transient-args 'kubel-describe-popup)) (yaml-mode)