1
0
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:
周立 2019-06-27 16:03:29 +08:00 committed by GitHub
parent c6e7b85137
commit 0140e274cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}