make work in python3.6

This commit is contained in:
David Tai
2019-05-24 11:06:48 -05:00
parent 8ecdddb40a
commit 8b1bb50a35
+1 -1
View File
@@ -173,7 +173,7 @@ class Kubernetes(object):
self.config_path = config_path
loop = asyncio.get_event_loop()
task = asyncio.create_task(config.new_client_from_config(config_path))
task = loop.create_task(config.new_client_from_config(config_path))
loop.run_until_complete(task)
api_client = task.result()