Skip to content

Commit 9188b79

Browse files
committed
bug
1 parent 8d9ddde commit 9188b79

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ public Server proxy(List<Server> servers,Server server){
3535
String key = MD5Util.md5((groupId + "_" + appName).getBytes());
3636

3737
Server oldServer =getServer(txTransactionLocal,servers,key);
38-
if(oldServer == null){
39-
logger.info("The server of key:" + key + " has not been cached yet!");
38+
if(oldServer != null){
39+
logger.info("LCNBalanceProxy - > load old server ");
4040
return server;
4141
}
4242

0 commit comments

Comments
 (0)