Skip to content

Commit

Permalink
Correct bracketing of describe resource under cursor (abrochard#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreicher authored Apr 19, 2024
1 parent c0a910d commit eb41a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubel.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eb41a64

Please sign in to comment.