nic-chen commented on a change in pull request #1968:
URL: https://github.com/apache/apisix-dashboard/pull/1968#discussion_r668553389
##########
File path: api/internal/handler/tool/tool.go
##########
@@ -101,9 +102,11 @@ func (h *Handler) VersionMatch(c droplet.Context)
(interface{}, error) {
} else {
// TODO: move this to utils
return &data.SpecCodeResponse{StatusCode: http.StatusOK,
Response: data.Response{
- Data: &output,
- Code: 2000001,
- Message: "The manager-api and apache apisix are
mismatched.",
+ Data: &output,
+ Code: 2000001,
+ Message: fmt.Sprintf("The Manager-api and Apache APISIX
are mismatched. "+
+ "The version of Dashboard is %s, and should be
used with Apache APISIX %s.",
Review comment:
```suggestion
"The version of Manager API is %s, and should
be used with Apache APISIX %s.",
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]