This commit is contained in:
Chris Lu
2021-09-04 05:11:06 -07:00
parent c3db389e42
commit df29281536
2 changed files with 6 additions and 6 deletions

View File

@@ -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)
}