Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 11d9e3e

Browse files
eaglerayprayshih
authored and
rayshih
committedJun 19, 2019
update: return bulk result when error
1 parent eeefdec commit 11d9e3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎bulk.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ func (b *Bulk) Run() (*BulkResult, error) {
312312
}
313313
if failed {
314314
sort.Sort(bulkErrorCases(berr.ecases))
315-
return nil, &berr
315+
return &result, &berr
316316
}
317317
return &result, nil
318318
}

0 commit comments

Comments
 (0)
Please sign in to comment.