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")