aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-08-19 15:17:55 -0700
committerChris Lu <chris.lu@gmail.com>2018-08-19 15:17:55 -0700
commitf827ada811bb807a9cf9e3db702a01e6f8e4ae3b (patch)
treea1a18dc6e30b906bb97492aa98692003ec5a555d /weed/command/filer.go
parentc91372daa6ddceed2ef66e6e36d986658551d237 (diff)
downloadseaweedfs-f827ada811bb807a9cf9e3db702a01e6f8e4ae3b.tar.xz
seaweedfs-f827ada811bb807a9cf9e3db702a01e6f8e4ae3b.zip
merge notification config with filer.toml
Diffstat (limited to 'weed/command/filer.go')
-rw-r--r--weed/command/filer.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index d42db6418..eaef380a2 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -50,7 +50,6 @@ func init() {
f.secretKey = cmdFiler.Flag.String("secure.secret", "", "secret to encrypt Json Web Token(JWT)")
f.dirListingLimit = cmdFiler.Flag.Int("dirListLimit", 1000, "limit sub dir listing size")
f.dataCenter = cmdFiler.Flag.String("dataCenter", "", "prefer to write to volumes in this data center")
- f.enableNotification = cmdFiler.Flag.Bool("notify", false, "send file updates to the queue defined in message_queue.toml")
}
var cmdFiler = &Command{
@@ -100,7 +99,6 @@ func (fo *FilerOptions) start() {
SecretKey: *fo.secretKey,
DirListingLimit: *fo.dirListingLimit,
DataCenter: *fo.dataCenter,
- EnableNotification: *fo.enableNotification,
})
if nfs_err != nil {
glog.Fatalf("Filer startup error: %v", nfs_err)