aboutsummaryrefslogtreecommitdiff
path: root/weed/util/http_util.go
diff options
context:
space:
mode:
authorTanmoy Majumdar <t4nmoy2@gmail.com>2021-12-03 11:54:20 +0600
committerTanmoy Majumdar <t4nmoy2@gmail.com>2021-12-03 11:54:20 +0600
commitea09fb477a20292f5bd6bd755e2c496df063eae3 (patch)
tree9498b19d2d6f5b3c0ae8a3eaca6fba467131209c /weed/util/http_util.go
parent689f5513a955528f365e79c30d9965e7826b1509 (diff)
downloadseaweedfs-ea09fb477a20292f5bd6bd755e2c496df063eae3.tar.xz
seaweedfs-ea09fb477a20292f5bd6bd755e2c496df063eae3.zip
return ' shouldRetry=true' so that filer can retry the failed chunk
Diffstat (limited to 'weed/util/http_util.go')
-rw-r--r--weed/util/http_util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/util/http_util.go b/weed/util/http_util.go
index f005e8d42..7bd6758eb 100644
--- a/weed/util/http_util.go
+++ b/weed/util/http_util.go
@@ -326,7 +326,7 @@ func ReadUrlAsStream(fileUrl string, cipherKey []byte, isContentGzipped bool, is
return false, nil
}
if err != nil {
- return false, err
+ return true, err
}
}