1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

Merge pull request #394 from yunzheng1228/master

format code and fixed example's bug
This commit is contained in:
xiaojing
2019-02-28 16:20:35 +08:00
committed by GitHub
8 changed files with 23 additions and 19 deletions

View File

@@ -45,7 +45,7 @@ public class AnsServiceRegistry implements ServiceRegistry<AnsRegistration> {
return;
}
if (StringUtils.isEmpty(registration.getServiceId())) {
log.info("No service to register for client...");
log.warn("No service to register for client...");
return;
}
@@ -81,7 +81,7 @@ public class AnsServiceRegistry implements ServiceRegistry<AnsRegistration> {
log.info("De-registering from ANSServer now...");
if (StringUtils.isEmpty(registration.getServiceId())) {
log.info("No dom to de-register for client...");
log.warn("No dom to de-register for client...");
return;
}