foolwc commented on issue #2080:
URL: 
https://github.com/apache/apisix-dashboard/issues/2080#issuecomment-910350910


   The upstream JSON schema shows that `Port` must be an Integer. And if we 
support FQDN, the `nodes` will be an `Object` but not an `Array`. So I'm 
confused how to deal with it. Please give me some lint. Thanks a lot @liuxiran  
   ```
   curl http://127.0.0.1:9080/apisix/admin/routes/1  -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "uri": "/ip",
       "upstream": {
           "type": "roundrobin",
           "nodes": {
               "httpbin.default.svc.cluster.local": 1
           }
       }
   }'
   ```


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