Browse Source

add filer replication to aws s3

pull/747/head
Chris Lu 6 years ago
parent
commit
a5b5887efc
  1. 2
      weed/command/filer_replication.go
  2. 2
      weed/replication/sink/s3sink/s3_sink.go

2
weed/command/filer_replication.go

@ -77,7 +77,7 @@ func runFilerReplicate(cmd *Command, args []string) bool {
} }
if dataSink == nil { if dataSink == nil {
println("no data sink defined:")
println("no data sink configured:")
for _, sk := range sink.Sinks { for _, sk := range sink.Sinks {
println(" " + sk.GetName()) println(" " + sk.GetName())
} }

2
weed/replication/sink/s3sink/s3_sink.go

@ -29,7 +29,7 @@ func init() {
} }
func (s3sink *S3Sink) GetName() string { func (s3sink *S3Sink) GetName() string {
return "filer"
return "s3"
} }
func (s3sink *S3Sink) GetSinkToDirectory() string { func (s3sink *S3Sink) GetSinkToDirectory() string {

Loading…
Cancel
Save