learnt opened a new issue, #10743:
URL: https://github.com/apache/apisix/issues/10743

   ### Current Behavior
   
   i cann't delete an **existed** upstream node for the route?
   curl http://127.0.0.1:9180/apisix/admin/routes/12345\
   -H 'X-API-KEY: xxxxxx' -X PATCH -i -d '
   {
       "upstream": {
           "nodes": {
               "10.46.12.11:8800": null
           }
       }
   }'
   
   HTTP/1.1 400 Bad Request
   Date: Wed, 03 Jan 2024 02:05:58 GMT
   Content-Type: application/json
   Transfer-Encoding: chunked
   Connection: keep-alive
   Server: APISIX
   Access-Control-Allow-Origin: *
   Access-Control-Allow-Credentials: true
   Access-Control-Expose-Headers: *
   Access-Control-Max-Age: 3600
   X-API-VERSION: v3
   
   {"error_msg":"invalid configuration: property \"upstream\" validation 
failed: property \"nodes\" validation failed: object matches none of the 
required"}
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   see description above
   
   ### Environment
   
   - APISIX version (run `apisix version`):3.6.0
   - Operating system (run `uname -a`):Linux apisix0 3.10.0-1160.el7.x86_64 #1 
SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx 
-V`):openresty/1.21.4.1
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):{"hostname":"apisix0","id":"31f4aaa7-9005-42ea-b22b-6f2c3977ceea","etcd_version":"3.5.0","version":"3.6.0","boot_time":1700613252}
   


-- 
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: notifications-unsubscr...@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to