Hello, I find that when we do the request GET /apisix/admin/labels/route the result is
like
{"code":0,"message":"","data":{"rows":null,"total_size":0},"request_id":"74476a59-a466-4c77-8d6c-18cea6560df6"}
The row field is nil.
It should be [].
curl http://127.0.0.1:9000/apisix/admin/user/login -X POST -d '{"username":"admin", "password": "admin"}' -H "Content-Type: application/json"
curl localhost:9000/apisix/admin/labels/route -H "Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MTgwNTI5MDMsImlhdCI6MTYxODA0OTMwMywic3ViIjoiYWRtaW4ifQ.N45AjXd9ECp7wjOgK6FZR39eIbXpjofx8ji0qT5OoEE"
The result is
{"code":0,"message":"","data":{"rows":null,"total_size":0},"request_id":"6d90a12c-4091-46ae-b273-1c3675435696"}
apisix version): uname -a): nginx -V or openresty -V): curl http://127.0.0.1:9090/v1/server_info to get the info from server-info API): Add we need to check the row field in all modules.
Hey @starsz, I have made the fix. Feel free to check it out :)
Hey @starsz, I have made the fix. Feel free to check it out :)
Yeah.Thanks!
Most helpful comment
Hey @starsz, I have made the fix. Feel free to check it out :)