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.

avoid missing configuration file error

Chris Lua1d5a6298c78
diff --git a/go/topology/topology.go b/go/topology/topology.go
index c9b6096ded..1c55138e2f 100644
--- a/go/topology/topology.go
+++ b/go/topology/topology.go
@@ -6,6 +6,7 @@ import (
"code.google.com/p/weed-fs/go/storage"
"errors"
"io/ioutil"
+ "log"
"math/rand"
)
@@ -54,8 +55,8 @@ func (t *Topology) loadConfiguration(configurationFile string) error {
if e == nil {
t.configuration, e = NewConfiguration(b)
return e
- }else{
- log.Println("Using default configurations.")
+ } else {
+ log.Println("Using default configurations.")
}
return nil
}