add objects to default loopback bucket
This commit is contained in:
1 parent
edbb33de5b
commit
40477d84c0
5 files changed
+44
-8
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user