apisix icon indicating copy to clipboard operation
apisix copied to clipboard

bug: “prevNode” should not return after setting a route

Open idbeta opened this issue 6 years ago • 2 comments

Issue description

set twice route in the same uri,the second response should not include “preNode” curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' ... {"action":"set","node":{...},"prevNode":{...}}

Environment

  • apisix version (cmd: apisix version): 1.5
  • OS: centos7

idbeta avatar Sep 10 '20 03:09 idbeta

yes, agreed, we can remove the prevNode section now. Welcome PR

moonming avatar Sep 10 '20 08:09 moonming

it was fixed in v2.0

idbeta avatar Oct 29 '20 07:10 idbeta