Fix: undefined method in transfer task

pull/1107/head
HFO4 3 years ago
parent dd4c3e05d3
commit 24dfb2c24e

@ -117,7 +117,6 @@ func (job *TransferTask) Do() {
}
// 切换为从机节点处理上传
fs.SetPolicyFromPath(path.Dir(dst))
fs.SwitchToSlaveHandler(node)
err = fs.UploadFromStream(context.Background(), &fsctx.FileStream{
File: nil,

Loading…
Cancel
Save