You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2018/12/05 14:53:47 UTC
[servicecomb-service-center] branch master updated: SCB-1053 allow
instances to be nil (#506)
This is an automated email from the ASF dual-hosted git repository.
littlecui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git
The following commit(s) were added to refs/heads/master by this push:
new fad2b58 SCB-1053 allow instances to be nil (#506)
fad2b58 is described below
commit fad2b5811f0476069fdfd68e65d14e7b2c81941a
Author: little-cui <su...@qq.com>
AuthorDate: Wed Dec 5 22:53:42 2018 +0800
SCB-1053 allow instances to be nil (#506)
---
server/core/proto/batch_find.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/core/proto/batch_find.go b/server/core/proto/batch_find.go
index 68e3883..16eb99c 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 {