apisix-dashboard icon indicating copy to clipboard operation
apisix-dashboard copied to clipboard

不同入口更新nodes信息,导致在etcd上看到nodes格式不一致问题

Open lisea2017 opened this issue 1 year ago • 1 comments

Issue description

版本3.0.1 通过直接在上游的查看里面直接更改nodes和在配置里更改node信息两边最终的数据格式不一样 etcd上的信息有两种格式: "nodes":[{"host":"127.0.0.1","port":8811,"weight":100}] --直接在查看里提交更改 "nodes":{"127.0.0.1:8811":100} --在配置里更新

Expected behavior

不同入口更新应该是要一致

How to Reproduce

如下示例图上可以复现

Screenshots

image image

Environment

  • apisix version (cmd: apisix version): 3.6.0
  • OS (cmd: uname -a):
  • OpenResty / Nginx version (cmd: nginx -V or openresty -V): openresty/1.21.4.1
  • etcd version, if have (cmd: run etcd --version): 3.4.26
  • apisix-dashboard version, if have: 3.0.1
  • Browser version, if have:

Additional context

No response

lisea2017 avatar Nov 07 '23 09:11 lisea2017