mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-22 21:04:07 +08:00
feat(azure_blob): implement GetRootId interface in Addition struct (#8389)
fix failed get dir
This commit is contained in:
parent
477c43971f
commit
28e5b5759e
@ -12,6 +12,11 @@ type Addition struct {
|
||||
SignURLExpire int `json:"sign_url_expire" type:"number" default:"4" help:"The expiration time for SAS URLs, in hours."`
|
||||
}
|
||||
|
||||
// implement GetRootId interface
|
||||
func (r Addition) GetRootId() string {
|
||||
return r.ContainerName
|
||||
}
|
||||
|
||||
var config = driver.Config{
|
||||
Name: "Azure Blob Storage",
|
||||
LocalSort: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user