aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_pwd.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_fs_pwd.go')
-rw-r--r--weed/shell/command_fs_pwd.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/shell/command_fs_pwd.go b/weed/shell/command_fs_pwd.go
index 0b0a7f176..084a5e90a 100644
--- a/weed/shell/command_fs_pwd.go
+++ b/weed/shell/command_fs_pwd.go
@@ -6,7 +6,7 @@ import (
)
func init() {
- commands = append(commands, &commandFsPwd{})
+ Commands = append(Commands, &commandFsPwd{})
}
type commandFsPwd struct {
@@ -20,7 +20,7 @@ func (c *commandFsPwd) Help() string {
return `print out current directory`
}
-func (c *commandFsPwd) Do(args []string, commandEnv *commandEnv, writer io.Writer) (err error) {
+func (c *commandFsPwd) Do(args []string, commandEnv *CommandEnv, writer io.Writer) (err error) {
fmt.Fprintf(writer, "http://%s:%d%s\n",
commandEnv.option.FilerHost,