Skip to content

Commit 5353bd4

Browse files
Merge pull request #78 from bradmwilliams/selector-scale-fix
Fix arguments to scale operation
2 parents 3943e69 + 6863eb8 commit 5353bd4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ansible/rebuild_module.digest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c3b2baa50cf3389070974bfc0aa7a720 -
1+
5d9fd350c289f46ab789d6e26d42689c -

ansible/roles/openshift_client_python/library/openshift_client_python.py

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/openshift/selector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ def for_each(self, func, *args, **kwargs):
626626
def scale(self, replicas, cmd_args=None):
627627
r = Result("scale")
628628
base_args = list()
629-
base_args.append('--scale={}'.format(replicas))
629+
base_args.append('--replicas={}'.format(replicas))
630630
r.add_action(oc_action(self.context, "scale", all_namespaces=self.all_namespaces,
631631
cmd_args=[self._selection_args(needs_all=False), base_args, cmd_args]))
632632

0 commit comments

Comments
 (0)