aboutsummaryrefslogtreecommitdiff
path: root/weed/util
diff options
context:
space:
mode:
Diffstat (limited to 'weed/util')
-rw-r--r--weed/util/constants.go2
-rw-r--r--weed/util/http_util.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/util/constants.go b/weed/util/constants.go
index 7b5c9ec66..8e178bc4a 100644
--- a/weed/util/constants.go
+++ b/weed/util/constants.go
@@ -5,7 +5,7 @@ import (
)
var (
- VERSION_NUMBER = fmt.Sprintf("%.02f", 2.80)
+ VERSION_NUMBER = fmt.Sprintf("%.02f", 2.82)
VERSION = sizeLimit + " " + VERSION_NUMBER
COMMIT = ""
)
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
}
}