Skip to content

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.

adjust error message

Chris Luff0560ee031f
diff --git a/go/util/http_util.go b/go/util/http_util.go
index dd6b9a67d6..e280575723 100644
--- a/go/util/http_util.go
+++ b/go/util/http_util.go
@@ -23,7 +23,7 @@ func init() {
func Post(url string, values url.Values) ([]byte, error) {
r, err := client.PostForm(url, values)
if err != nil {
- glog.V(0).Infoln("post to", url, err)
+ glog.V(0).Infoln(err)
return nil, err
}
defer r.Body.Close()
@@ -38,7 +38,7 @@ func Post(url string, values url.Values) ([]byte, error) {
func Get(url string) ([]byte, error) {
r, err := client.Get(url)
if err != nil {
- glog.V(0).Infoln("getting ", url, err)
+ glog.V(0).Infoln(err)
return nil, err
}
defer r.Body.Close()