summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/lib_openshift/library/oc_clusterrole.py8
-rw-r--r--roles/lib_openshift/src/class/oc_clusterrole.py8
-rwxr-xr-xroles/lib_openshift/src/test/unit/test_oc_clusterrole.py1
3 files changed, 8 insertions, 9 deletions
diff --git a/roles/lib_openshift/library/oc_clusterrole.py b/roles/lib_openshift/library/oc_clusterrole.py
index 4a68841ce..b94137d30 100644
--- a/roles/lib_openshift/library/oc_clusterrole.py
+++ b/roles/lib_openshift/library/oc_clusterrole.py
@@ -1645,10 +1645,10 @@ class OCClusterRole(OpenShiftCLI):
def run_ansible(params, check_mode):
'''run the idempotent ansible code'''
- oc_clusterrole = OCClusterRole(params['name'],
- params['rules'],
- params['kubeconfig'],
- params['debug'])
+ oc_clusterrole = OCClusterRole(params['name'],
+ params['rules'],
+ params['kubeconfig'],
+ params['debug'])
state = params['state']
diff --git a/roles/lib_openshift/src/class/oc_clusterrole.py b/roles/lib_openshift/src/class/oc_clusterrole.py
index 0d8ed42ba..1d3d977db 100644
--- a/roles/lib_openshift/src/class/oc_clusterrole.py
+++ b/roles/lib_openshift/src/class/oc_clusterrole.py
@@ -82,10 +82,10 @@ class OCClusterRole(OpenShiftCLI):
def run_ansible(params, check_mode):
'''run the idempotent ansible code'''
- oc_clusterrole = OCClusterRole(params['name'],
- params['rules'],
- params['kubeconfig'],
- params['debug'])
+ oc_clusterrole = OCClusterRole(params['name'],
+ params['rules'],
+ params['kubeconfig'],
+ params['debug'])
state = params['state']
diff --git a/roles/lib_openshift/src/test/unit/test_oc_clusterrole.py b/roles/lib_openshift/src/test/unit/test_oc_clusterrole.py
index aa4518821..189f16bda 100755
--- a/roles/lib_openshift/src/test/unit/test_oc_clusterrole.py
+++ b/roles/lib_openshift/src/test/unit/test_oc_clusterrole.py
@@ -113,4 +113,3 @@ class OCClusterRoleTest(unittest.TestCase):
mock.call(['oc', 'create', '-f', mock.ANY], None),
mock.call(['oc', 'get', 'clusterrole', 'operations', '-o', 'json'], None),
])
-