From 0c8e314d6fd504a14096027f6dc9e81130aa7023 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Wed, 31 Jul 2024 07:55:34 +0200 Subject: [PATCH] ; Fix 'restart' command name in deployments list buffer --- kubed.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kubed.el b/kubed.el index 0e3a664..cc87dc2 100644 --- a/kubed.el +++ b/kubed.el @@ -1238,9 +1238,10 @@ optional command to run in the images." (user-error "Failed to create Kubernetes deployment `%s'" name)) (message "Created Kubernetes deployment `%s'." name) (kubed-update-deployments t)) - (set "R" "Restart" - (kubed-restart-deployment deployment k8sns) - (kubed-update-deployments t))) + (restart "R" "Restart" + (kubed-restart-deployment deployment k8sns) + (unless kubed-restart-deployment-watch-status + (kubed-update-deployments t)))) ;;;###autoload (autoload 'kubed-display-replicaset "kubed" nil t) ;;;###autoload (autoload 'kubed-edit-replicaset "kubed" nil t) -- 2.39.5