summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-03-29 09:25:45 -0400
committerKenny Woodson <kwoodson@redhat.com>2017-03-29 09:27:49 -0400
commit9b4530d8e0be3aa96fd24cc3e7cab67257ff836d (patch)
tree86abea4766337d62a712545c7cfb639e5866dab0
parent611e9864e8716ca92a77745403c847c30f2f0d87 (diff)
downloadopenshift-9b4530d8e0be3aa96fd24cc3e7cab67257ff836d.tar.gz
openshift-9b4530d8e0be3aa96fd24cc3e7cab67257ff836d.tar.bz2
openshift-9b4530d8e0be3aa96fd24cc3e7cab67257ff836d.tar.xz
openshift-9b4530d8e0be3aa96fd24cc3e7cab67257ff836d.zip
Fixing linting for spaces.
-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),
])
-