Fix: undefined method in transfer task
This commit is contained in:
parent
dd4c3e05d3
commit
24dfb2c24e
1 changed files with 0 additions and 1 deletions
|
@ -117,7 +117,6 @@ func (job *TransferTask) Do() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 切换为从机节点处理上传
|
// 切换为从机节点处理上传
|
||||||
fs.SetPolicyFromPath(path.Dir(dst))
|
|
||||||
fs.SwitchToSlaveHandler(node)
|
fs.SwitchToSlaveHandler(node)
|
||||||
err = fs.UploadFromStream(context.Background(), &fsctx.FileStream{
|
err = fs.UploadFromStream(context.Background(), &fsctx.FileStream{
|
||||||
File: nil,
|
File: nil,
|
||||||
|
|
Loading…
Add table
Reference in a new issue