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/11/25 07:02:54 UTC

[GitHub] [apisix-dashboard] membphis commented on issue #865: bug: 2.1 version schema-sync.sh display error when sync apisix's custom plugin.

membphis commented on issue #865:
URL: https://github.com/apache/apisix-dashboard/issues/865#issuecomment-733510232


   that is a bug, confirmed.
   
   https://github.com/apache/apisix-dashboard/blob/master/api/build-tools/schema-sync.lua#L55-L56
   
   here is a way we can make a try:
   
   ```lua
   local t_idx = {
       __index = function (t, key)
           local val = {}
           rawset(t, key, val)
           return val
      end
   }
   
   package.loaded['apisix.core'] = {
       __index = t_idx
   }
   ```


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