feat(azure_blob): implement GetRootId interface in Addition struct (#8389)

fix failed get dir
This commit is contained in:
New Future 2025-04-19 14:23:48 +08:00 committed by GitHub
parent 477c43971f
commit 28e5b5759e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,