tianxiaoliang commented on a change in pull request #71: SCB-1723 support 
pagination in kie apis
URL: https://github.com/apache/servicecomb-kie/pull/71#discussion_r367818202
 
 

 ##########
 File path: server/service/mongo/kv/kv_service.go
 ##########
 @@ -110,7 +110,7 @@ func (s *Service) Exist(ctx context.Context, domain, key 
string, project string,
                }
                return kvs[0], nil
        }
-       kvs, err := s.FindKV(ctx, domain, project,
+       kvs, err := s.FindKV(ctx, domain, project, 2, 0,
 
 Review comment:
   魔鬼数字

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to