aboutsummaryrefslogtreecommitdiff
path: root/weed/operation
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-02-17 20:57:08 -0800
committerChris Lu <chris.lu@gmail.com>2021-02-17 20:57:08 -0800
commit3575d41009e4367658e75e6ae780c6260b80daf9 (patch)
treebc3330e274901d782395b7396cb54d7cc42608b1 /weed/operation
parent6daa932f5c1571cc60cf89014cf17810d756dd6b (diff)
downloadseaweedfs-3575d41009e4367658e75e6ae780c6260b80daf9.tar.xz
seaweedfs-3575d41009e4367658e75e6ae780c6260b80daf9.zip
go fmt
Diffstat (limited to 'weed/operation')
-rw-r--r--weed/operation/upload_content.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/operation/upload_content.go b/weed/operation/upload_content.go
index b24514cda..0d5cfd29c 100644
--- a/weed/operation/upload_content.go
+++ b/weed/operation/upload_content.go
@@ -100,7 +100,7 @@ func retriedUploadData(uploadUrl string, filename string, cipher bool, data []by
} else {
glog.Warningf("uploading to %s: %v", uploadUrl, err)
}
- time.Sleep(time.Millisecond * time.Duration(237 * (i+1)))
+ time.Sleep(time.Millisecond * time.Duration(237*(i+1)))
}
return
}