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 2020/12/16 08:01:44 UTC

[GitHub] [apisix-dashboard] Caelebs commented on issue #1058: 'schema-sync.sh' generates jsonschema data for apisix error

Caelebs commented on issue #1058:
URL: https://github.com/apache/apisix-dashboard/issues/1058#issuecomment-745870904


   So awkward, I checked the .history log and found that I pulled the master code, so this `error-log-logger` plugin appeared.
   After Switch to version 2.1, the command execution returned successfully.
   thanks
   @nic-chen
   
   ```
   [root@TEST13 apisix-dashboard-1210]# api/build-tools/schema-sync.sh /mnt/apisix-2.1/apisix/
   ++ pwd
   + pwd=/mnt/apisix-dashboard-1210
   + [[ -n /mnt/apisix-2.1/apisix/ ]]
   + [[ -d /mnt/apisix-2.1/apisix/ ]]
   + path=/mnt/apisix-2.1/apisix/
   + [[ -d /mnt/apisix-2.1/apisix//apisix ]]
   + cp -R /mnt/apisix-2.1/apisix// ./api/build-tools/apisix/
   + cd ./api/build-tools/
   + lua schema-sync.lua
   + cd ../../
   + rm -rf ./api/build-tools/apisix/
   + echo 'sync success:'
   sync success:
   + echo /mnt/apisix-dashboard-1210/api/conf/schema.json
   /mnt/apisix-dashboard-1210/api/conf/schema.json
   ```


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