[ https://issues.apache.org/jira/browse/SCB-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16697637#comment-16697637 ]
ASF GitHub Bot commented on SCB-1041: ------------------------------------- asifdxtreme closed pull request #499: SCB-1041 scctl version command does not print sc verison URL: https://github.com/apache/servicecomb-service-center/pull/499 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/scctl/pkg/plugin/version/cmd.go b/scctl/pkg/plugin/version/cmd.go index 877d23b2..8492071e 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 } ---------------------------------------------------------------- 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 > scctl version command does not print sc verison > ----------------------------------------------- > > Key: SCB-1041 > URL: https://issues.apache.org/jira/browse/SCB-1041 > Project: Apache ServiceComb > Issue Type: Bug > Components: Service-Center > Reporter: little-cui > Assignee: little-cui > Priority: Major > -- This message was sent by Atlassian JIRA (v7.6.3#76005)