mirror of
https://github.com/hanzoai/bootnode.git
synced 2026-10-25 02:31:30 +00:00
make work in python3.6
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user