Merge pull request #1584 from alloneinfo/master

修改 weed filer.copy 上传目录时文件名变子目录的问题
This commit is contained in:
Chris Lu authored and GitHub committed 2020-10-30 10:40:04 -07:00
commit 9081ff8e65
1 file changed
+1 -1
+1 -1
View File
@@ -219,7 +219,7 @@ func genFileCopyTask(fileOrDir string, destPath string, fileCopyTaskChan chan Fi
fileCopyTaskChan <- FileCopyTask{
sourceLocation: fileOrDir,
destinationUrlPath: destPath+fi.Name(),
destinationUrlPath: destPath,//+fi.Name(),
fileSize: fi.Size(),
fileMode: fi.Mode(),
uid: uid,