aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_du.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-02-26 16:46:01 -0800
committerChris Lu <chris.lu@gmail.com>2020-02-26 16:46:01 -0800
commit0156e2975aa4aabe142301deb72cc2657eb79ee9 (patch)
tree191e0a3c65964fa75c3cdc661aefdab16e97e3a2 /weed/shell/command_fs_du.go
parent543cf1c80e222f3ff4be5fcfa88d2a7e9c868de2 (diff)
downloadseaweedfs-0156e2975aa4aabe142301deb72cc2657eb79ee9.tar.xz
seaweedfs-0156e2975aa4aabe142301deb72cc2657eb79ee9.zip
mount: add mode to run external to SeaweedFS container cluster
Diffstat (limited to 'weed/shell/command_fs_du.go')
-rw-r--r--weed/shell/command_fs_du.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/weed/shell/command_fs_du.go b/weed/shell/command_fs_du.go
index a1e21bfa6..6c31ebdff 100644
--- a/weed/shell/command_fs_du.go
+++ b/weed/shell/command_fs_du.go
@@ -105,3 +105,6 @@ func (env *CommandEnv) getFilerClient(filerServer string, filerPort int64) *comm
func (c *commandFilerClient) WithFilerClient(fn func(filer_pb.SeaweedFilerClient) error) error {
return c.env.withFilerClient(c.filerServer, c.filerPort, fn)
}
+func (c *commandFilerClient) AdjustedUrl(hostAndPort string) string {
+ return hostAndPort
+}