You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/02/03 03:48:47 UTC

[GitHub] [apisix-dashboard] starsz commented on issue #1165: tip: display a warning message on the dashboard if the user is not using the recommended APISIX + Dashboard version

starsz commented on issue #1165:
URL: https://github.com/apache/apisix-dashboard/issues/1165#issuecomment-772201649


   IMO, BE provide the API as follow. This API is used for checking the version of apisix and dashboard are matched.
   
   ```
   GET /apisix/admin/tool/version_match
   ```
   
   The response like this:
   
   ```
   {
       "code": "2000001 |  0",
       "message": "The version of apisix and dashboard are not matched.",
       "request_id": "",
       "data": {
           "matched": true | false,
           "dashboard_version": "2.3",
           "not_matched_nodes": [{
               "hostname": "apisix-deployment-5c845b74b-bsrjm",
               "version": "2.1"
           }]
       }
   }
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org