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 2021/08/16 11:32:59 UTC

[servicecomb-service-center] branch master updated: Fix: show no consumers (#1137)

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 a749fba  Fix: show no consumers (#1137)
a749fba is described below

commit a749fba07d28d44ce4bfdaf186f8bed8ac26d731
Author: little-cui <su...@qq.com>
AuthorDate: Mon Aug 16 19:32:50 2021 +0800

    Fix: show no consumers (#1137)
---
 datasource/etcd/ms.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/datasource/etcd/ms.go b/datasource/etcd/ms.go
index b3114c5..ad1b78e 100644
--- a/datasource/etcd/ms.go
+++ b/datasource/etcd/ms.go
@@ -1020,7 +1020,7 @@ func (ds *MetadataManager) reshapeProviderKey(ctx context.Context, provider *pb.
 	}
 
 	provider = pb.MicroServiceToKey(provider.Tenant, providerService)
-	provider.Version = ""
+	provider.Version = "0.0.0+" // just compatible to old version
 	return provider, nil
 }