1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-09-08 01:50:33 +02:00

add configuration instructions

This commit is contained in:
Chris Lu 2018-10-30 02:29:11 -07:00
parent 9e98bba206
commit fe31f389b0

View file

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