aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_copy.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-05-06 03:37:51 -0700
committerChris Lu <chris.lu@gmail.com>2021-05-06 03:37:51 -0700
commit55a8f57381aaeeb0cfc1326646024a7052928965 (patch)
treecec1ffc21ba4926bc0a5facaa8e25debd6ef4868 /weed/command/filer_copy.go
parent5753749c9083ca90c201803f7a9e83086a8e6d8b (diff)
downloadseaweedfs-55a8f57381aaeeb0cfc1326646024a7052928965.tar.xz
seaweedfs-55a8f57381aaeeb0cfc1326646024a7052928965.zip
go fmt
Diffstat (limited to 'weed/command/filer_copy.go')
-rw-r--r--weed/command/filer_copy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go
index e7a9b107f..a9b715f90 100644
--- a/weed/command/filer_copy.go
+++ b/weed/command/filer_copy.go
@@ -299,7 +299,7 @@ func (worker *FileCopyWorker) uploadFileAsOne(task FileCopyTask, f *os.File) err
var assignResult *filer_pb.AssignVolumeResponse
var assignError error
- if task.fileMode & os.ModeDir == 0 && task.fileSize > 0 {
+ if task.fileMode&os.ModeDir == 0 && task.fileSize > 0 {
mimeType = detectMimeType(f)
data, err := ioutil.ReadAll(f)