chore: rename main items

refactor/fs
Noah Hsu 2022-07-27 11:43:49 +08:00
parent 5166d73b4d
commit 4ba04fa7db
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ type Item struct {
}
type Items struct {
Main []Item `json:"main"`
Common []Item `json:"common"`
Additional []Item `json:"additional"`
}

View File

@ -47,7 +47,7 @@ func registerDriverItems(config driver.Config, addition driver.Additional) {
mainItems := getMainItems(config)
additionalItems := getAdditionalItems(tAddition, config.DefaultRoot)
driverItemsMap[config.Name] = driver.Items{
Main: mainItems,
Common: mainItems,
Additional: additionalItems,
}
}