diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-11-01 01:11:09 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-11-01 01:11:09 -0700 |
| commit | db584ff7f8e6b5564ebab66fbe544bd6f626159d (patch) | |
| tree | db9103a472649aea2a196c806e1fd74cf9b3b56e /weed/command/filer_replication.go | |
| parent | 6219a9ad1f0bb4efd3bee736285872b22aa6e352 (diff) | |
| download | seaweedfs-db584ff7f8e6b5564ebab66fbe544bd6f626159d.tar.xz seaweedfs-db584ff7f8e6b5564ebab66fbe544bd6f626159d.zip | |
separate into notification.toml, add gcp pub/sub message queue
Diffstat (limited to 'weed/command/filer_replication.go')
| -rw-r--r-- | weed/command/filer_replication.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/weed/command/filer_replication.go b/weed/command/filer_replication.go index 3ae4f1e2f..4780e9a3b 100644 --- a/weed/command/filer_replication.go +++ b/weed/command/filer_replication.go @@ -36,6 +36,7 @@ var cmdFilerReplicate = &Command{ func runFilerReplicate(cmd *Command, args []string) bool { weed_server.LoadConfiguration("replication", true) + weed_server.LoadConfiguration("notification", true) config := viper.GetViper() var notificationInput sub.NotificationInput @@ -54,7 +55,8 @@ func runFilerReplicate(cmd *Command, args []string) bool { } if notificationInput == nil { - println("Please follow 'weed scaffold -config=repliaction' to see example notification configurations.") + println("No notification is defined in notification.toml file.") + println("Please follow 'weed scaffold -config=notification' to see example notification configurations.") return true } @@ -85,7 +87,7 @@ func runFilerReplicate(cmd *Command, args []string) bool { } if dataSink == nil { - println("no data sink configured:") + println("no data sink configured in replication.toml:") for _, sk := range sink.Sinks { println(" " + sk.GetName()) } |
