aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-06-30 23:16:54 -0700
committerchrislu <chris.lu@gmail.com>2024-06-30 23:16:54 -0700
commitac6fd36c06f9cd6740cb2ff7e97c1ba92d55bf2c (patch)
tree642bc7f9e8aca8a073173a97a6baeb809563420f /weed/command/filer.go
parentfbe1316c921d3d5479c03e55e9759038e786b8a1 (diff)
downloadseaweedfs-ac6fd36c06f9cd6740cb2ff7e97c1ba92d55bf2c.tar.xz
seaweedfs-ac6fd36c06f9cd6740cb2ff7e97c1ba92d55bf2c.zip
using fixed bootstrap from peer filer3.69
Diffstat (limited to 'weed/command/filer.go')
-rw-r--r--weed/command/filer.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index 877c4b5d5..1d8a6c4b8 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -63,7 +63,6 @@ type FilerOptions struct {
diskType *string
allowedOrigins *string
exposeDirectoryData *bool
- joinExistingFiler *bool
}
func init() {
@@ -96,7 +95,6 @@ func init() {
f.diskType = cmdFiler.Flag.String("disk", "", "[hdd|ssd|<tag>] hard drive or solid state drive or any tag")
f.allowedOrigins = cmdFiler.Flag.String("allowedOrigins", "*", "comma separated list of allowed origins")
f.exposeDirectoryData = cmdFiler.Flag.Bool("exposeDirectoryData", true, "whether to return directory metadata and content in Filer UI")
- f.joinExistingFiler = cmdFiler.Flag.Bool("joinExistingFiler", false, "enable if new filer wants to join existing cluster")
// start s3 on filer
filerStartS3 = cmdFiler.Flag.Bool("s3", false, "whether to start S3 gateway")
@@ -264,7 +262,6 @@ func (fo *FilerOptions) startFiler() {
DownloadMaxBytesPs: int64(*fo.downloadMaxMBps) * 1024 * 1024,
DiskType: *fo.diskType,
AllowedOrigins: strings.Split(*fo.allowedOrigins, ","),
- JoinExistingFiler: *fo.joinExistingFiler,
})
if nfs_err != nil {
glog.Fatalf("Filer startup error: %v", nfs_err)