monkeyDluffy6017 commented on issue #8747: URL: https://github.com/apache/apisix/issues/8747#issuecomment-1409667098
If use the `node` mode, it will failed when there are serveral nodes. It may be confusing too. https://github.com/apache/apisix/blob/master/t/admin/routes4.t#L603 How about just listing the configuration item `pass_host` ? ``` curl "http://127.0.0.1:9180/apisix/admin/upstreams/1" \ -H "X-API-KEY: edd1c9f034335f136f87ad84b625c8f1" -X PUT -d ' { "type": "roundrobin", "pass_host": "pass", <== list the configuration item `pass_host` "nodes": { "httpbin.org:80": 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]
