From 2d7ba10d630ec220f3ef18cb997499eefc4f7fb0 Mon Sep 17 00:00:00 2001 From: Dariusz Rybi Date: Thu, 5 May 2022 16:38:09 +0200 Subject: [PATCH] Update provider invocation (subnet) --- goth/runner/probe/agent.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/goth/runner/probe/agent.py b/goth/runner/probe/agent.py index 49cff3af..fb6d0003 100644 --- a/goth/runner/probe/agent.py +++ b/goth/runner/probe/agent.py @@ -86,10 +86,11 @@ async def start(self): if self.agent_preset: probe.container.exec_run(f"ya-provider preset activate {self.agent_preset}") - probe.container.exec_run(f"ya-provider config set --subnet {self.subnet}") log_stream = probe.container.exec_run( - f"ya-provider run" f" --app-key {probe.app_key} --node-name {probe.name}", + f"ya-provider run" + f" --app-key {probe.app_key} --node-name {probe.name}" + f" --subnet {self.subnet}", stream=True, ) self.log_monitor.start(log_stream.output)