summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library/oc_clusterrole.py
diff options
context:
space:
mode:
authorOpenShift Bot <eparis+openshiftbot@redhat.com>2017-07-29 00:31:58 -0400
committerGitHub <noreply@github.com>2017-07-29 00:31:58 -0400
commit3be2748d87f7eda17ed8cec496bbbd11b311b076 (patch)
tree3e5e8c01432db785e821e561a93bef87955fca06 /roles/lib_openshift/library/oc_clusterrole.py
parent1990a975c3101389631eaee925760607600a0629 (diff)
parent46c94de67feaa167b0745e46239017e84875104a (diff)
downloadopenshift-3be2748d87f7eda17ed8cec496bbbd11b311b076.tar.gz
openshift-3be2748d87f7eda17ed8cec496bbbd11b311b076.tar.bz2
openshift-3be2748d87f7eda17ed8cec496bbbd11b311b076.tar.xz
openshift-3be2748d87f7eda17ed8cec496bbbd11b311b076.zip
Merge pull request #4933 from kwoodson/policy_to_binding
Merged by openshift-bot
Diffstat (limited to 'roles/lib_openshift/library/oc_clusterrole.py')
-rw-r--r--roles/lib_openshift/library/oc_clusterrole.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/lib_openshift/library/oc_clusterrole.py b/roles/lib_openshift/library/oc_clusterrole.py
index 289f08b83..d101eac1c 100644
--- a/roles/lib_openshift/library/oc_clusterrole.py
+++ b/roles/lib_openshift/library/oc_clusterrole.py
@@ -1671,7 +1671,7 @@ class OCClusterRole(OpenShiftCLI):
self.clusterrole = ClusterRole(content=result['results'][0])
result['results'] = self.clusterrole.yaml_dict
- elif 'clusterrole "{}" not found'.format(self.name) in result['stderr']:
+ elif '"{}" not found'.format(self.name) in result['stderr']:
result['returncode'] = 0
self.clusterrole = None