From: Eshel Yaron Date: Wed, 31 Jul 2024 05:55:34 +0000 (+0200) Subject: ; Fix 'restart' command name in deployments list buffer X-Git-Tag: v0.2.0~18 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0c8e314d6fd504a14096027f6dc9e81130aa7023;p=kubed.git ; Fix 'restart' command name in deployments list buffer --- 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)