diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-10-11 20:15:10 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-10-11 20:15:10 -0700 |
| commit | 723ae11db401b791925d99968ad53240c3259305 (patch) | |
| tree | 1cc9fdc63f5d16e5fd9e85b73d83291ac9e52b68 /weed/replication/source/filer_source.go | |
| parent | d5fcb0f474ac72389b89ba2d42adc4089b0f3e88 (diff) | |
| download | seaweedfs-723ae11db401b791925d99968ad53240c3259305.tar.xz seaweedfs-723ae11db401b791925d99968ad53240c3259305.zip | |
refactoring in order to adjust volume server url later
Diffstat (limited to 'weed/replication/source/filer_source.go')
| -rw-r--r-- | weed/replication/source/filer_source.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/replication/source/filer_source.go b/weed/replication/source/filer_source.go index c3ef8835c..ff4f2eb26 100644 --- a/weed/replication/source/filer_source.go +++ b/weed/replication/source/filer_source.go @@ -111,8 +111,8 @@ func (fs *FilerSource) WithFilerClient(fn func(filer_pb.SeaweedFilerClient) erro } -func (fs *FilerSource) AdjustedUrl(hostAndPort string) string { - return hostAndPort +func (fs *FilerSource) AdjustedUrl(location *filer_pb.Location) string { + return location.Url } func volumeId(fileId string) string { |
