[ 
https://issues.apache.org/jira/browse/SCB-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16710153#comment-16710153
 ] 

ASF GitHub Bot commented on SCB-1053:
-------------------------------------

little-cui closed pull request #506: SCB-1053 Allow instances to be nil
URL: https://github.com/apache/servicecomb-service-center/pull/506
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/server/core/proto/batch_find.go b/server/core/proto/batch_find.go
index 68e3883c..16eb99cc 100644
--- a/server/core/proto/batch_find.go
+++ b/server/core/proto/batch_find.go
@@ -27,7 +27,7 @@ type FindService struct {
 type FindResult struct {
        Index     int64                   `protobuf:"varint,1,opt,name=index" 
json:"index"`
        Rev       string                  `protobuf:"bytes,2,opt,name=rev" 
json:"rev"`
-       Instances []*MicroServiceInstance 
`protobuf:"bytes,3,rep,name=instances" json:"instances"`
+       Instances []*MicroServiceInstance 
`protobuf:"bytes,3,rep,name=instances" json:"instances,omitempty"`
 }
 
 type FindFailedResult struct {


 

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


> Batch microservices instances discovery API
> -------------------------------------------
>
>                 Key: SCB-1053
>                 URL: https://issues.apache.org/jira/browse/SCB-1053
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Service-Center
>            Reporter: little-cui
>            Assignee: little-cui
>            Priority: Major
>             Fix For: service-center-1.2.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to