From b698287d0655420713bf6edfbc8de53da7c5a236 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Mon, 30 Apr 2018 13:47:38 +0200 Subject: add DeleteOptions to Object.Delete() --- bulk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bulk.go') 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 -- cgit v1.2.3