imjoey commented on pull request #1812:
URL: https://github.com/apache/apisix-dashboard/pull/1812#issuecomment-824729089


   @liuxiran
   
   How about we make it in the backend? Please see 
https://github.com/apache/apisix-dashboard/blob/master/api/internal/core/entity/format.go#L49,
 we can initialize the `nodes` as an empty slice instead of a nil one. Just 
change `var nodes []*Node` to `nodes := make([]*Node, 0)` .
   
   Looking forward to your insights.


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


Reply via email to