aboutsummaryrefslogtreecommitdiff
path: root/weed/replication/sink/filersink/fetch_write.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/replication/sink/filersink/fetch_write.go')
-rw-r--r--weed/replication/sink/filersink/fetch_write.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/weed/replication/sink/filersink/fetch_write.go b/weed/replication/sink/filersink/fetch_write.go
index 540e16da4..7b3e22b90 100644
--- a/weed/replication/sink/filersink/fetch_write.go
+++ b/weed/replication/sink/filersink/fetch_write.go
@@ -139,6 +139,11 @@ func (fs *FilerSink) WithFilerClient(streamingMode bool, fn func(filer_pb.Seawee
}, fs.grpcAddress, fs.grpcDialOption)
}
+
func (fs *FilerSink) AdjustedUrl(location *filer_pb.Location) string {
return location.Url
}
+
+func (fs *FilerSink) GetDataCenter() string {
+ return fs.dataCenter
+}