Skip to content

Commit

Permalink
bugfix: windows上报日志token不一致问题 (closed #1781)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyyalt authored and ZhuoZhuoCrayon committed Aug 28, 2023
1 parent 8cb301f commit f28e949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/backend/agent/solution_maker.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def get_run_cmd_base_params(self) -> typing.List[str]:
# 安装/下载配置
f"-T {self.dest_dir}",
f"-p {self.agent_config['setup_path']}",
f"-c {self.token}",
f'-c "{self.token}"',
f"-s {self.pipeline_id}",
]

Expand Down Expand Up @@ -724,7 +724,7 @@ def get_run_cmd_base_params(self) -> typing.List[str]:
f"-r {self.gse_servers_info['callback_url']}",
# 安装/下载配置
f"-L {settings.DOWNLOAD_PATH}",
f"-c {self.token}",
f'-c "{self.token}"',
f"-s {self.pipeline_id}",
# 目标机器主机信息
f"-HNT {self.host.node_type}",
Expand Down

0 comments on commit f28e949

Please sign in to comment.