diff --git a/apiservice/delegate_service.go b/apiservice/delegate_service.go index 4563641..b5b1cbd 100644 --- a/apiservice/delegate_service.go +++ b/apiservice/delegate_service.go @@ -59,7 +59,9 @@ func (s *DelegateService) BucketInfo(ctx context.Context, req *api.BucketInfoReq first = page.GetFirst() } if skip >= uint64(len(bucketInfo)) { - return nil, errors.New("invalid pagination skip number for bucket info") + bucketInfoList.BucketInfo = make([]*api.BucketInfo, 0) + bucketInfoLists = append(bucketInfoLists, bucketInfoList) + continue } if uint64(len(bucketInfo))-skip < first { first = uint64(len(bucketInfo)) - skip