mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
Change log level when the service attribute of nacos is empty.
This commit is contained in:
parent
a543be5f9f
commit
c94eec5828
@ -46,7 +46,7 @@ public class NacosServiceRegistry implements ServiceRegistry<Registration> {
|
||||
public void register(Registration registration) {
|
||||
|
||||
if (StringUtils.isEmpty(registration.getServiceId())) {
|
||||
log.info("No service to register for nacos client...");
|
||||
log.warn("No service to register for nacos client...");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -76,7 +76,7 @@ public class NacosServiceRegistry implements ServiceRegistry<Registration> {
|
||||
log.info("De-registering from Nacos Server now...");
|
||||
|
||||
if (StringUtils.isEmpty(registration.getServiceId())) {
|
||||
log.info("No dom to de-register for nacos client...");
|
||||
log.warn("No dom to de-register for nacos client...");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user