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.

refactor func name

Chris Lu60d2f1557d4b
diff --git a/weed/command/filer.go b/weed/command/filer.go
index 30a8b6412f..75809008dd 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -74,12 +74,12 @@ var cmdFiler = &Command{
func runFiler(cmd *Command, args []string) bool {
- f.start()
+ f.startFiler()
return true
}
-func (fo *FilerOptions) start() {
+func (fo *FilerOptions) startFiler() {
defaultMux := http.NewServeMux()
publicVolumeMux := defaultMux
diff --git a/weed/command/server.go b/weed/command/server.go
index 842a32376a..7cd245b94d 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -164,7 +164,7 @@ func runServer(cmd *Command, args []string) bool {
go func() {
time.Sleep(1 * time.Second)
- filerOptions.start()
+ filerOptions.startFiler()
}()
}