aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-10-30 02:29:11 -0700
committerChris Lu <chris.lu@gmail.com>2018-10-30 02:29:11 -0700
commitfe31f389b0873df6ffdb37f8bcffc5e4fc69314d (patch)
treedb4caec02f45ec0651202e5441efb9058842ef6c
parent9e98bba20634d73146b89ed6d220bede55a34192 (diff)
downloadseaweedfs-fe31f389b0873df6ffdb37f8bcffc5e4fc69314d.tar.xz
seaweedfs-fe31f389b0873df6ffdb37f8bcffc5e4fc69314d.zip
add configuration instructions
-rw-r--r--weed/command/filer_replication.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/weed/command/filer_replication.go b/weed/command/filer_replication.go
index 1c137bb53..05076143a 100644
--- a/weed/command/filer_replication.go
+++ b/weed/command/filer_replication.go
@@ -52,6 +52,11 @@ func runFilerReplicate(cmd *Command, args []string) bool {
}
}
+ if notificationInput == nil {
+ println("Please follow 'weed scaffold -config=repliaction' to see example notification configurations.")
+ return true
+ }
+
// avoid recursive replication
if config.GetBool("notification.source.filer.enabled") && config.GetBool("notification.sink.filer.enabled") {
sourceConfig, sinkConfig := config.Sub("source.filer"), config.Sub("sink.filer")