juzhiyuan commented on issue #786:
URL: 
https://github.com/apache/apisix-dashboard/issues/786#issuecomment-729542997


   > @juzhiyuan
   > there two apis in this case
   > click edit
   > 
   > ```
   > Request URL: http://127.0.0.1:8080/apisix/admin/routes/1
   > 
{"code":0,"message":"","data":{"id":"1","create_time":0,"update_time":0,"uri":"/name","name":"test_route","methods":["GET","POST"],"upstream":{"nodes":{"127.0.0.1:9797":1},"type":"roundrobin","hash_on":"vars","pass_host":"pass"}},"request_id":"dd826fd2-5739-4f56-88a4-7659892a38c8"}
   > ```
   > 
   > click next to upstream
   > 
   > ```
   > Request URL: http://127.0.0.1:8080/apisix/admin/upstreams
   > 
{"code":0,"message":"","data":{"rows":[],"total_size":0},"request_id":"e0f6114b-68a4-4019-968f-54dc30f5f678"}
   > ```
   
   Ya, from the first response, we can see `nodes`'s format is in the hash, and 
the frontend only supports Array.


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to