Instead of merging it. The returned list is in the correct order,
whereas merging it breaks this order.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
<< ", tentative new pos " << list_context->pos << dendl;
list_context->extra_info.append(extra_info);
if (response_size) {
- list_context->list.merge(response.entries);
+ list_context->list.splice(list_context->list.end(), response.entries);
}
if (list_context->list.size() >= list_context->max_entries) {