Skip to content

Commit

Permalink
fix: rollout restart not working
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiga1993 committed Jun 12, 2023
1 parent 49c8930 commit 6fb31ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octoploy/api/Oc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 6fb31ae

Please sign in to comment.