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')