aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_remote_mount.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-09-04 05:11:06 -0700
committerChris Lu <chris.lu@gmail.com>2021-09-04 05:11:06 -0700
commitdf29281536ecb6f44a645d0990e875b349b00882 (patch)
tree5642939b42199cadb0976d369736323a4a25bc87 /weed/shell/command_remote_mount.go
parentc3db389e4249f2ab923b6d27fb61d69acc358e1b (diff)
downloadseaweedfs-df29281536ecb6f44a645d0990e875b349b00882.tar.xz
seaweedfs-df29281536ecb6f44a645d0990e875b349b00882.zip
rename
Diffstat (limited to 'weed/shell/command_remote_mount.go')
-rw-r--r--weed/shell/command_remote_mount.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_remote_mount.go b/weed/shell/command_remote_mount.go
index 25d61941d..75212dfa0 100644
--- a/weed/shell/command_remote_mount.go
+++ b/weed/shell/command_remote_mount.go
@@ -79,7 +79,7 @@ func (c *commandRemoteMount) Do(args []string, commandEnv *CommandEnv, writer io
}
// store a mount configuration in filer
- if err = filer.SaveMountMapping(commandEnv, *dir, remoteStorageLocation); err != nil {
+ if err = filer.InsertMountMapping(commandEnv, *dir, remoteStorageLocation); err != nil {
return fmt.Errorf("save mount mapping: %v", err)
}