Skip to content

Commit a5aded1

Browse files
committed
bug修复,oldServer
1 parent 3ea4c04 commit a5aded1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

transaction-springcloud/src/main/java/com/codingapi/ribbon/loadbalancer/LcnLoadBalancerRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public Server proxy(List<Server> servers,Server server){
4545
Server oldServer =getServer(txTransactionLocal,servers,key);
4646
if(oldServer != null){
4747
logger.info("LCNBalanceProxy - > load old server ");
48-
return server;
48+
return oldServer;
4949
}
5050

5151
putServer(key, txTransactionLocal, server);

0 commit comments

Comments
 (0)