fix oss import bug
This commit is contained in:
parent
8587d18868
commit
44373e65a1
1 changed files with 1 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Reference in a new issue