aboutsummaryrefslogtreecommitdiff
path: root/bulk.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2018-04-30 13:47:38 +0200
committerStefan Majewsky <majewsky@gmx.net>2018-04-30 13:47:38 +0200
commitb698287d0655420713bf6edfbc8de53da7c5a236 (patch)
treec352afca8cb528f552a3d909420ccb3c4e89603c /bulk.go
parent0df55a731aa3330f82d22b010a7a2a4d66521972 (diff)
downloadgo-schwift-b698287d0655420713bf6edfbc8de53da7c5a236.tar.gz
add DeleteOptions to Object.Delete()
Diffstat (limited to 'bulk.go')
-rw-r--r--bulk.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bulk.go b/bulk.go
index 42fb0b7..a0f458e 100644
--- a/bulk.go
+++ b/bulk.go
@@ -231,7 +231,7 @@ func (a *Account) bulkDeleteSingle(objects []*Object, containers []*Container, o
}
for _, obj := range objects {
- err := obj.Delete(opts) //this implies Invalidate()
+ err := obj.Delete(nil, opts) //this implies Invalidate()
err = handleSingleError(obj.Container().Name(), obj.Name(), err)
if err != nil {
return numDeleted, numNotFound, err