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/01/19 15:04:25 UTC

[GitHub] [apisix] Firstsawyou opened a new pull request #3347: docs: fix the example in skywalking doc

Firstsawyou opened a new pull request #3347:
URL: https://github.com/apache/apisix/pull/3347


   ### What this PR does / why we need it:
   <!--- Why is this change required? What problem does it solve? -->
   <!--- If it fixes an open issue, please link to the issue here. -->
   
   The Chinese document of skywalking is inconsistent with the English document, and the route example in the Chinese document is wrong. This PR is an example of fixing errors in Chinese documents and keeping them consistent with English documents.
   
   Examples of errors in Chinese doc:
   
   ```shell
   curl http://127.0.0.1:9080/apisix/admin/routes/1  -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "methods": ["GET"],
       "uris": [
           "/uid/*"
       ],
       "plugins": {
           "skywalking": {
               "endpoint": "http://10.110.149.175:12800",
               "sample_ratio": 1,
               "service_name": "APISIX_SERVER"
           }
       },
       "upstream": {
           "type": "roundrobin",
           "nodes": {
               "10.110.149.175:8089": 1
           }
       }
   }'
   {"error_msg":"failed to check the configuration of plugin skywalking err: additional properties forbidden, found service_name"}
   ```
   
   ### Pre-submission checklist:
   
   * [ ] Did you explain what problem does this PR solve? Or what new features have been added?
   * [ ] Have you added corresponding test cases?
   * [ ] Have you modified the corresponding document?
   * [ ] Is this PR backward compatible? **If it is not backward compatible, please discuss on the [mailing list](https://github.com/apache/apisix/tree/master#community) first**
   


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



[GitHub] [apisix] spacewander merged pull request #3347: docs: fix the example in skywalking doc

Posted by GitBox <gi...@apache.org>.
spacewander merged pull request #3347:
URL: https://github.com/apache/apisix/pull/3347


   


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