summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library/oc_scale.py
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2017-02-14 14:03:02 -0500
committerGitHub <noreply@github.com>2017-02-14 14:03:02 -0500
commit7b33cdfaced1ca374b61b7222d32e8d13511f29a (patch)
tree50a1eea9eb673a311c4eccca9cf1fd65e4fb7405 /roles/lib_openshift/library/oc_scale.py
parentdcbc04be7d1f621d1cf95168c8d1265279d04ed1 (diff)
parent51f8852ed1f18ded531eca7ac14743e3f6fe534b (diff)
downloadopenshift-7b33cdfaced1ca374b61b7222d32e8d13511f29a.tar.gz
openshift-7b33cdfaced1ca374b61b7222d32e8d13511f29a.tar.bz2
openshift-7b33cdfaced1ca374b61b7222d32e8d13511f29a.tar.xz
openshift-7b33cdfaced1ca374b61b7222d32e8d13511f29a.zip
Merge pull request #3351 from detiber/fixConfigClobber
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