chore: fix typo
This commit is contained in:
@ -27,8 +27,8 @@ type Proxy struct {
|
||||
DownProxyUrl string `json:"down_proxy_url"`
|
||||
}
|
||||
|
||||
func (a Storage) GetStorage() Storage {
|
||||
return a
|
||||
func (a *Storage) GetStorage() Storage {
|
||||
return *a
|
||||
}
|
||||
|
||||
func (a *Storage) SetStatus(status string) {
|
||||
|
@ -54,7 +54,7 @@ func registerDriverItems(config driver.Config, addition driver.Additional) {
|
||||
|
||||
func getMainItems(config driver.Config) []driver.Item {
|
||||
items := []driver.Item{{
|
||||
Name: "virtual_path",
|
||||
Name: "mount_path",
|
||||
Type: conf.TypeString,
|
||||
Required: true,
|
||||
Help: "",
|
||||
@ -62,6 +62,9 @@ func getMainItems(config driver.Config) []driver.Item {
|
||||
Name: "index",
|
||||
Type: conf.TypeNumber,
|
||||
Help: "use to sort",
|
||||
}, {
|
||||
Name: "remark",
|
||||
Type: conf.TypeText,
|
||||
}, {
|
||||
Name: "down_proxy_url",
|
||||
Type: conf.TypeText,
|
||||
|
Reference in New Issue
Block a user