mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
FIX compile error
This commit is contained in:
parent
c6e7b85137
commit
0140e274cf
@ -38,7 +38,7 @@ public class NacosRule extends AbstractLoadBalancerRule {
|
||||
NamingService namingService = this.nacosDiscoveryProperties.namingServiceInstance();
|
||||
List<Instance> instances = namingService.selectInstances(name, true);
|
||||
if (CollectionUtils.isEmpty(instances)) {
|
||||
log.warn("{}服务当前无任何实例", name);
|
||||
LOGGER.warn("{}服务当前无任何实例", name);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user