SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
fix format error
Chris Lu4ce56bac0849
diff --git a/weed/util/fasthttp_util.go b/weed/util/fasthttp_util.goindex 59fde37d0f..82575af981 100644--- a/weed/util/fasthttp_util.go+++ b/weed/util/fasthttp_util.go@@ -63,7 +63,7 @@ func FastGet(url string) ([]byte, bool, error) {if res.StatusCode() >= 400 {retryable := res.StatusCode() >= 500- return nil, retryable, fmt.Errorf("%s: %s", url, res.StatusCode())+ return nil, retryable, fmt.Errorf("%s: %d", url, res.StatusCode())}if err != nil {return nil, false, err@@ -96,7 +96,7 @@ func FastReadUrlAsStream(fileUrl string, cipherKey []byte, isContentGzipped boolif res.StatusCode() >= 400 {retryable = res.StatusCode() >= 500- return retryable, fmt.Errorf("%s: %s", fileUrl, res.StatusCode())+ return retryable, fmt.Errorf("%s: %d", fileUrl, res.StatusCode())}contentEncoding := res.Header.Peek("Content-Encoding")