From 81732006cfe081371d8a67e47408d4eae7542179 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Wed, 30 May 2018 14:57:29 +0200 Subject: make the IsEqualTo() methods public --- bulk.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bulk.go') diff --git a/bulk.go b/bulk.go index 5d6304b..a160652 100644 --- a/bulk.go +++ b/bulk.go @@ -145,12 +145,12 @@ func makeBulkObjectError(fullName string, statusCode int) BulkObjectError { func (a *Account) BulkDelete(objects []*Object, containers []*Container, opts *RequestOptions) (numDeleted int, numNotFound int, deleteError error) { //validate that all given objects are in this account for _, obj := range objects { - if !a.isEqualTo(obj.Container().Account()) { + if !a.IsEqualTo(obj.Container().Account()) { return 0, 0, ErrAccountMismatch } } for _, container := range containers { - if !a.isEqualTo(container.Account()) { + if !a.IsEqualTo(container.Account()) { return 0, 0, ErrAccountMismatch } } -- cgit v1.2.3