add objects to default loopback bucket

This commit is contained in:
Danielle Miu authored and Louis Ruch committed 2024-01-16 13:53:44 -08:00
1 parent edbb33de5b
commit 40477d84c0
5 files changed
+44 -8

No files matched your search

+1 -1
View File
@@ -453,8 +453,8 @@ func (l *LoopbackStorage) deleteObjects(ctx context.Context, req *plgpb.DeleteOb
_, ok := bucket[prefix]
if ok {
delete(bucket, prefix)
deleted++
}
deleted++ // this is outside the if statement because aws always returns a success
}
return &plgpb.DeleteObjectsResponse{
ObjectsDeleted: deleted,