diff options
| author | Konstantin Lebedev <lebedev_k@tochka.com> | 2021-04-12 11:22:51 +0500 |
|---|---|---|
| committer | Konstantin Lebedev <lebedev_k@tochka.com> | 2021-04-12 11:22:51 +0500 |
| commit | 8e02e138ea889d9f43cc89937c02c212ca145d74 (patch) | |
| tree | 0fd5664bcd0efaff75efafdc230f45076a6c056b /weed/operation/upload_content.go | |
| parent | 5021bea69838a5946b4b0bfa37c6269bfe66fa27 (diff) | |
| parent | 742ab1ec81795d1705bf3be48d56727fddf625df (diff) | |
| download | seaweedfs-8e02e138ea889d9f43cc89937c02c212ca145d74.tar.xz seaweedfs-8e02e138ea889d9f43cc89937c02c212ca145d74.zip | |
Merge branch 'upstreamMaster' into iam_handlers
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() } |
