config 다운로드 경로 수정

This commit is contained in:
2023-06-27 11:55:24 +09:00
parent fa8b78efed
commit d464812cf8

View File

@ -439,7 +439,7 @@ func (hc *houstonClient) restartChildProcess(req *shared.RestartProcessRequest,
if proc.cmd.Process.Pid == int(req.Pid) { if proc.cmd.Process.Pid == int(req.Pid) {
if len(req.Config) > 0 { if len(req.Config) > 0 {
// config.json를 먼저 다운로드 시도 // config.json를 먼저 다운로드 시도
root := proc.cmd.Path root := proc.cmd.Dir
if _, err := download(root, hc.makeDownloadUrl(req.Config), ""); err != nil { if _, err := download(root, hc.makeDownloadUrl(req.Config), ""); err != nil {
return err return err
} }