spacewander commented on a change in pull request #2964:
URL: https://github.com/apache/apisix/pull/2964#discussion_r538018558
##########
File path: t/lib/test_admin.lua
##########
@@ -108,14 +108,15 @@ function _M.comp_tab(left_tab, right_tab)
local err
dir_names = {}
+ local _
if type(left_tab) == "string" then
- left_tab, err = json.decode(left_tab)
+ left_tab, _, err = json.decode(left_tab)
Review comment:
@membphis
For dkjson, the second argument is `pos`, not `err`.
----------------------------------------------------------------
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:
[email protected]