You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by as...@apache.org on 2018/11/24 04:33:04 UTC
[servicecomb-service-center] branch master updated: SCB-1041 scctl
version command does not print sc verison (#499)
This is an automated email from the ASF dual-hosted git repository.
asifdxtreme 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 7aceab7 SCB-1041 scctl version command does not print sc verison (#499)
7aceab7 is described below
commit 7aceab7f2ccb804089627bfdb82e7d7a62ab259a
Author: little-cui <su...@qq.com>
AuthorDate: Sat Nov 24 12:33:00 2018 +0800
SCB-1041 scctl version command does not print sc verison (#499)
---
scctl/pkg/plugin/version/cmd.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scctl/pkg/plugin/version/cmd.go b/scctl/pkg/plugin/version/cmd.go
index 877d23b..8492071 100644
--- a/scctl/pkg/plugin/version/cmd.go
+++ b/scctl/pkg/plugin/version/cmd.go
@@ -52,8 +52,8 @@ func VersionCommandFunc(_ *cobra.Command, _ []string) {
if err != nil {
return
}
- v, err := scClient.GetScVersion(context.Background())
- if err != nil {
+ v, scErr := scClient.GetScVersion(context.Background())
+ if scErr != nil {
return
}