spacewander commented on issue #6105:
URL: https://github.com/apache/apisix/issues/6105#issuecomment-1012855448


   > 部分接口(e.g. /apisix/admin/plugin_metadata/和 /apisix/admin/global_rules)中的 
"count" 字段是string,其余admin接口是int
   
   These resources forget to call `utils.fix_count` in the get method like 
route: 
https://github.com/apache/apisix/blob/92ac6d901d2ca23641037c3979a2e988cc024cd1/apisix/admin/routes.lua#L205
   
   Let's fix it in a separate PR!
   
   You may ask why we don't call `fix_count` on all resources. Because not all 
the resources come from etcd.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to