From 50c41ca1d22378209d93f5f353a1a8d65055558a Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Fri, 26 Jul 2024 12:23:21 +0200 Subject: [PATCH] kubed.el: Fix filtering resource definition files by kind --- lisp/net/kubed.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/net/kubed.el b/lisp/net/kubed.el index 3eccdf39f69..f93ed41c805 100644 --- a/lisp/net/kubed.el +++ b/lisp/net/kubed.el @@ -698,7 +698,7 @@ Optional argument DEFAULT is the minibuffer default argument." resource) ,(format "Create Kubernetes %s from definition file DEFINITION." (symbol-name resource)) (interactive (list (kubed-read-resource-definition-file-name - ,(capitalize (symbol-name resource))))) + ,(symbol-name resource)))) (kubed-create definition ,(symbol-name resource)))) ,@(mapcar @@ -1100,7 +1100,7 @@ completion candidates." ('noval (puthash (expand-file-name f) (zerop (call-process - "grep" f nil nil + "grep" f nil nil "-i" (format "^kind: %s$" kind))) cache)) (val val))) @@ -1109,7 +1109,7 @@ completion candidates." ('noval (puthash (expand-file-name f) (zerop (call-process - "grep" f nil nil + "grep" f nil nil "-i" (format "^kind: %s$" kind))) cache)) (val val)))))))) -- 2.39.5