From 6fb31aebaf024fc2a5cacc4e3ea55daf75ee7360 Mon Sep 17 00:00:00 2001 From: davidgiga1993 Date: Mon, 12 Jun 2023 15:41:13 +0200 Subject: [PATCH] fix: rollout restart not working --- octoploy/api/Oc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octoploy/api/Oc.py b/octoploy/api/Oc.py index 6167544..d820e87 100644 --- a/octoploy/api/Oc.py +++ b/octoploy/api/Oc.py @@ -239,7 +239,7 @@ def _get_bin(self) -> str: class K8(Oc): def rollout(self, name: str, namespace: Optional[str] = None): - self._exec(['rollout', 'restart', 'deployments', name], namespace=namespace) + self._exec(['rollout', 'restart', name], namespace=namespace) def tag(self, source: str, dest: str, namespace: Optional[str] = None): raise NotImplemented('Not available for k8')