chore: rename VirtualPath to MountPath

This commit is contained in:
Noah Hsu
2022-07-12 14:11:37 +08:00
parent fbc858b43c
commit 2bff656f00
11 changed files with 59 additions and 59 deletions

View File

@ -12,11 +12,11 @@ import (
func initDevData() {
err := operations.CreateStorage(context.Background(), model.Storage{
VirtualPath: "/",
Index: 0,
Driver: "Local",
Status: "",
Addition: `{"root_folder":"."}`,
MountPath: "/",
Index: 0,
Driver: "Local",
Status: "",
Addition: `{"root_folder":"."}`,
})
if err != nil {
log.Fatalf("failed to create storage: %+v", err)