aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/wfs_filer_client.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-01-28 15:23:16 -0800
committerChris Lu <chris.lu@gmail.com>2021-01-28 15:23:16 -0800
commit19295600f94fd18d09323cb17e89c115c811fb52 (patch)
tree0192ac117341456c3dce6d5ba915c8a5e5e0fbb7 /weed/filesys/wfs_filer_client.go
parent990fa69bfeac65a72bec1539993e32633858c8f5 (diff)
downloadseaweedfs-19295600f94fd18d09323cb17e89c115c811fb52.tar.xz
seaweedfs-19295600f94fd18d09323cb17e89c115c811fb52.zip
mount: change option name to volumeServerAccess, with publicUrl and filerProxy modes
Diffstat (limited to 'weed/filesys/wfs_filer_client.go')
-rw-r--r--weed/filesys/wfs_filer_client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filesys/wfs_filer_client.go b/weed/filesys/wfs_filer_client.go
index ef4213af1..671d20ba2 100644
--- a/weed/filesys/wfs_filer_client.go
+++ b/weed/filesys/wfs_filer_client.go
@@ -27,7 +27,7 @@ func (wfs *WFS) WithFilerClient(fn func(filer_pb.SeaweedFilerClient) error) erro
}
func (wfs *WFS) AdjustedUrl(location *filer_pb.Location) string {
- if wfs.option.OutsideContainerClusterMode {
+ if wfs.option.VolumeServerAccess == "publicUrl" {
return location.PublicUrl
}
return location.Url