File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def __init__(self):
15
15
self .v1Beta1 = client .AppsV1beta1Api ()
16
16
self .extensionsV1Beta1 = client .ExtensionsV1beta1Api ()
17
17
self .autoscalingV1Api = client .AutoscalingV1Api ()
18
- self .rbacAPi = client .RbacAuthorizationV1beta1Api ()
18
+ self .rbacApi = client .RbacAuthorizationV1beta1Api ()
19
19
self .batchV1Api = client .BatchV1Api ()
20
20
self .batchV2Api = client .BatchV2alpha1Api ()
21
21
@@ -94,10 +94,10 @@ def _call_api_client(self, resource):
94
94
ret = self .autoscalingV1Api .list_horizontal_pod_autoscaler_for_all_namespaces (watch = False )
95
95
elif resource == "clusterrole" :
96
96
namespaced_resource = False
97
- ret = self .rbacAPi .list_cluster_role (watch = False )
97
+ ret = self .rbacApi .list_cluster_role (watch = False )
98
98
elif resource == "clusterrolebinding" :
99
99
namespaced_resource = False
100
- ret = self .rbacAPi .list_cluster_role_binding (watch = False )
100
+ ret = self .rbacApi .list_cluster_role_binding (watch = False )
101
101
elif resource == "job" :
102
102
ret = self .batchV1Api .list_job_for_all_namespaces (watch = False )
103
103
elif resource == "cronjob" :
You can’t perform that action at this time.
0 commit comments