This commit is contained in:
Chris Lu committed 2021-09-04 05:11:06 -07:00
1 parent c3db389e42
commit df29281536
2 files changed
+6 -6

No files matched your search

+1 -1
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)
}