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):
1515 self .v1Beta1 = client .AppsV1beta1Api ()
1616 self .extensionsV1Beta1 = client .ExtensionsV1beta1Api ()
1717 self .autoscalingV1Api = client .AutoscalingV1Api ()
18- self .rbacAPi = client .RbacAuthorizationV1beta1Api ()
18+ self .rbacApi = client .RbacAuthorizationV1beta1Api ()
1919 self .batchV1Api = client .BatchV1Api ()
2020 self .batchV2Api = client .BatchV2alpha1Api ()
2121
@@ -94,10 +94,10 @@ def _call_api_client(self, resource):
9494 ret = self .autoscalingV1Api .list_horizontal_pod_autoscaler_for_all_namespaces (watch = False )
9595 elif resource == "clusterrole" :
9696 namespaced_resource = False
97- ret = self .rbacAPi .list_cluster_role (watch = False )
97+ ret = self .rbacApi .list_cluster_role (watch = False )
9898 elif resource == "clusterrolebinding" :
9999 namespaced_resource = False
100- ret = self .rbacAPi .list_cluster_role_binding (watch = False )
100+ ret = self .rbacApi .list_cluster_role_binding (watch = False )
101101 elif resource == "job" :
102102 ret = self .batchV1Api .list_job_for_all_namespaces (watch = False )
103103 elif resource == "cronjob" :
You can’t perform that action at this time.
0 commit comments