mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Fix: undefined method in transfer task
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user