aboutsummaryrefslogtreecommitdiff
path: root/weed/messaging
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-10-11 20:15:10 -0700
committerChris Lu <chris.lu@gmail.com>2020-10-11 20:15:10 -0700
commit723ae11db401b791925d99968ad53240c3259305 (patch)
tree1cc9fdc63f5d16e5fd9e85b73d83291ac9e52b68 /weed/messaging
parentd5fcb0f474ac72389b89ba2d42adc4089b0f3e88 (diff)
downloadseaweedfs-723ae11db401b791925d99968ad53240c3259305.tar.xz
seaweedfs-723ae11db401b791925d99968ad53240c3259305.zip
refactoring in order to adjust volume server url later
Diffstat (limited to 'weed/messaging')
-rw-r--r--weed/messaging/broker/broker_append.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/messaging/broker/broker_append.go b/weed/messaging/broker/broker_append.go
index 80f107e00..8e5b56fd0 100644
--- a/weed/messaging/broker/broker_append.go
+++ b/weed/messaging/broker/broker_append.go
@@ -108,6 +108,6 @@ func (broker *MessageBroker) WithFilerClient(fn func(filer_pb.SeaweedFilerClient
}
-func (broker *MessageBroker) AdjustedUrl(hostAndPort string) string {
- return hostAndPort
+func (broker *MessageBroker) AdjustedUrl(location *filer_pb.Location) string {
+ return location.Url
}