diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2018-05-30 14:57:29 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2018-05-30 14:57:29 +0200 |
| commit | 81732006cfe081371d8a67e47408d4eae7542179 (patch) | |
| tree | f5e24ea9ed935f2a9fe4cec10930273fd47d03b3 /bulk.go | |
| parent | bb7eb0faacb77436a492d4b9b9775f2771a546d7 (diff) | |
| download | go-schwift-81732006cfe081371d8a67e47408d4eae7542179.tar.gz | |
make the IsEqualTo() methods public
Diffstat (limited to 'bulk.go')
| -rw-r--r-- | bulk.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } } |
