diff options
| author | Chris Lu <chris.lu@uber.com> | 2021-04-10 23:48:18 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@uber.com> | 2021-04-10 23:48:18 -0700 |
| commit | f62c1532745c1dca7d81f1f23d39f18f5c8985d5 (patch) | |
| tree | f3844277a6d004c50bb9c5dddc4315843f3570c8 /weed/operation/upload_content.go | |
| parent | af313dff58bf82a731dbce72535b72f1979d6740 (diff) | |
| download | seaweedfs-f62c1532745c1dca7d81f1f23d39f18f5c8985d5.tar.xz seaweedfs-f62c1532745c1dca7d81f1f23d39f18f5c8985d5.zip | |
go fmt
Diffstat (limited to 'weed/operation/upload_content.go')
| -rw-r--r-- | weed/operation/upload_content.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/operation/upload_content.go b/weed/operation/upload_content.go index 40e96fd8c..7a7f8aa0c 100644 --- a/weed/operation/upload_content.go +++ b/weed/operation/upload_content.go @@ -235,7 +235,7 @@ func upload_content(uploadUrl string, fillBufferFunction func(w io.Writer) error // print("+") resp, post_err := HttpClient.Do(req) if post_err != nil { - if !strings.Contains(post_err.Error(), "connection reset by peer"){ + if !strings.Contains(post_err.Error(), "connection reset by peer") { glog.Errorf("upload %s %d bytes to %v: %v", filename, originalDataSize, uploadUrl, post_err) debug.PrintStack() } |
