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."`
|
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{
|
var config = driver.Config{
|
||||||
Name: "Azure Blob Storage",
|
Name: "Azure Blob Storage",
|
||||||
LocalSort: true,
|
LocalSort: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user