Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Nic <[email protected]>
  • Loading branch information
nic-6443 committed Jan 22, 2025
1 parent 125f8a1 commit 1030c8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apisix/upstream.lua
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ function _M.set_by_route(route, api_ctx)
end

local new_up_conf = core.table.clone(up_conf)
up_conf.nodes = new_nodes
up_conf.original_nodes = up_conf.nodes
new_up_conf.nodes = new_nodes
new_up_conf.original_nodes = up_conf.nodes

core.log.info("discover new upstream from ", up_conf.service_name, ", type ",
up_conf.discovery_type, ": ",
Expand Down

0 comments on commit 1030c8a

Please sign in to comment.