diff --git a/pkg/filesystem/driver/oss/handler.go b/pkg/filesystem/driver/oss/handler.go index ccccbd2c..26e5bda3 100644 --- a/pkg/filesystem/driver/oss/handler.go +++ b/pkg/filesystem/driver/oss/handler.go @@ -172,6 +172,7 @@ func (handler *Driver) List(ctx context.Context, base string, recursive bool) ([ if err != nil { continue } + if strings.HasSuffix(object.Key, "/") { res = append(res, response.Object{ Name: path.Base(object.Key),