RedemptionC commented on issue #1944: URL: https://github.com/apache/apisix-dashboard/issues/1944#issuecomment-872339707
Hi,I am not sure what's the proper way to improve: 1. should we just change the prompt message? As it's indicated in the issue description 2. or should we make some further improvements? like @juzhiyuan and @nic-chen mentioned in the comments: >API should return the matched version list and web should show Translation :)  If it's the former one,we just need to change change the code snippet from ```go Message: "The manager-api and apache apisix are mismatched.", ``` to something like ```go Message: fmt.Sprintf("The Dashboard and Apache APISIX are mismatched. \nThe version of Dashboard is %s and should be used with APISIX %s", "version", "matchedVersion"), ``` If it's the latter one,what's the matched version list?As the versionMap.go shows,there is a one to one mapping,so I don't quite get it And,should we put the mismatched nodes' info into the prompt message? As the picture showed Please give me some advice,thank you @juzhiyuan @nic-chen -- 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]
