fix(remote download): file path slashes incorrectly formated for remote download transfer if master and slave node use different path style (#2532)

This commit is contained in:
Aaron Liu
2025-06-21 09:51:12 +08:00
parent 3de33aeb10
commit bdc0aafab0
3 changed files with 7 additions and 6 deletions

View File

@@ -319,7 +319,7 @@ func (m *RemoteDownloadTask) slaveTransfer(ctx context.Context, dep dependency.D
}
dst := dstUri.JoinRaw(f.Name)
src := filepath.FromSlash(path.Join(m.state.Status.SavePath, f.Name))
src := path.Join(m.state.Status.SavePath, f.Name)
payload.Files = append(payload.Files, SlaveUploadEntity{
Src: src,
Uri: dst,