From 24dfb2c24ee2376b061d15e3212fce78cf3437bc Mon Sep 17 00:00:00 2001 From: HFO4 <912394456@qq.com> Date: Sun, 13 Mar 2022 19:27:33 +0800 Subject: [PATCH] Fix: undefined method in transfer task --- pkg/task/tranfer.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/task/tranfer.go b/pkg/task/tranfer.go index b802324..596ae9e 100644 --- a/pkg/task/tranfer.go +++ b/pkg/task/tranfer.go @@ -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,