From fe31f389b0873df6ffdb37f8bcffc5e4fc69314d Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 30 Oct 2018 02:29:11 -0700 Subject: [PATCH] add configuration instructions --- weed/command/filer_replication.go | 5 +++++ 1 file changed, 5 insertions(+) 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")