Skip to content

Commit

Permalink
deadlock workaround pending swagger-api/swagger-codegen#8061
Browse files Browse the repository at this point in the history
  • Loading branch information
007 committed Nov 5, 2018
1 parent 05c2eec commit 6b0124e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drain.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ class Nedry:
def __init__(self):
kubernetes.config.load_kube_config()
self.k8s_api_core = kubernetes.client.CoreV1Api()
self.k8s_api_core.pool = None
self.k8s_api_extv1b1 = kubernetes.client.ExtensionsV1beta1Api()
self.k8s_api_extv1b1.pool = None
self.k8s_api_appsv1b1 = kubernetes.client.AppsV1beta1Api()
self.k8s_api_appsv1b1.pool = None

def get_worker_nodes(self):
nodes = []
Expand Down

0 comments on commit 6b0124e

Please sign in to comment.