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.

fix filer starting under "weed server" when ip is not localhost

Chris Lud30600e6d6b4
diff --git a/weed/command/filer.go b/weed/command/filer.go
index 478b7d6bf1..d12d661a8e 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -99,7 +99,7 @@ func (fo *FilerOptions) startFiler() {
}
fs, nfs_err := weed_server.NewFilerServer(defaultMux, publicVolumeMux, &weed_server.FilerOption{
- Masters: strings.Split(*f.masters, ","),
+ Masters: strings.Split(*fo.masters, ","),
Collection: *fo.collection,
DefaultReplication: *fo.defaultReplicaPlacement,
RedirectOnRead: *fo.redirectOnRead,