chore: rename index to order of storage

This commit is contained in:
Noah Hsu
2022-09-07 15:55:15 +08:00
parent 53fc2f32d8
commit 71d30b6819
6 changed files with 15 additions and 14 deletions

View File

@ -14,7 +14,7 @@ import (
func initDevData() {
err := op.CreateStorage(context.Background(), model.Storage{
MountPath: "/",
Index: 0,
Order: 0,
Driver: "Local",
Status: "",
Addition: `{"root_folder":"."}`,