Skip to content

Commit

Permalink
Update provider invocation (subnet)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiivan committed May 5, 2022
1 parent 816bdfd commit 2d7ba10
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions goth/runner/probe/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 2d7ba10

Please sign in to comment.