fix oss import bug

This commit is contained in:
haibingtown 2023-12-22 21:52:59 +08:00
parent 8587d18868
commit 44373e65a1

View file

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