Skip to content

Commit f5913bb

Browse files
fix: the instance's url and secure values are not covered
1 parent b211958 commit f5913bb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/cmd.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ def __init__(self, loop: asyncio.AbstractEventLoop):
4040
it(GlobalLogger).logger.info("Waiting for wrapper-manager to start...")
4141
loop.run_until_complete(countdown(it(Config).localInstance.timeout))
4242
try:
43-
loop.run_until_complete(it(WrapperManager).init("127.0.0.1:32767", False))
43+
it(Config).instance.url = "127.0.0.1:32767"
44+
it(Config).instance.secure = False
45+
loop.run_until_complete(it(WrapperManager).init(it(Config).instance.url, it(Config).instance.secure))
4446
except grpc.aio.AioRpcError:
4547
it(GlobalLogger).logger.error("Unable to connect to the local wrapper-manager, please try to extend the timeout")
4648
sys.exit()

0 commit comments

Comments
 (0)