summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library/oc_scale.py
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2017-02-13 17:10:02 -0500
committerJason DeTiberus <jdetiber@redhat.com>2017-02-13 17:10:02 -0500
commit51f8852ed1f18ded531eca7ac14743e3f6fe534b (patch)
tree60151ea76281ceba50b158546b4849012e198c01 /roles/lib_openshift/library/oc_scale.py
parent9c09ffbd4b1c2dc9593c6fb1f312172c538f2bec (diff)
downloadopenshift-51f8852ed1f18ded531eca7ac14743e3f6fe534b.tar.gz
openshift-51f8852ed1f18ded531eca7ac14743e3f6fe534b.tar.bz2
openshift-51f8852ed1f18ded531eca7ac14743e3f6fe534b.tar.xz
openshift-51f8852ed1f18ded531eca7ac14743e3f6fe534b.zip
Fix cases where child classes override OpenShiftCLI values
Diffstat (limited to 'roles/lib_openshift/library/oc_scale.py')
-rw-r--r--roles/lib_openshift/library/oc_scale.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/roles/lib_openshift/library/oc_scale.py b/roles/lib_openshift/library/oc_scale.py
index 48a629b5e..be3b7f837 100644
--- a/roles/lib_openshift/library/oc_scale.py
+++ b/roles/lib_openshift/library/oc_scale.py
@@ -1629,13 +1629,10 @@ class OCScale(OpenShiftCLI):
kubeconfig='/etc/origin/master/admin.kubeconfig',
verbose=False):
''' Constructor for OCScale '''
- super(OCScale, self).__init__(namespace, kubeconfig)
+ super(OCScale, self).__init__(namespace, kubeconfig=kubeconfig, verbose=verbose)
self.kind = kind
self.replicas = replicas
self.name = resource_name
- self.namespace = namespace
- self.kubeconfig = kubeconfig
- self.verbose = verbose
self._resource = None
@property