diff --git a/src/main/java/com/ctrip/zeus/service/status/impl/HealthCheckStatusServiceImpl.java b/src/main/java/com/ctrip/zeus/service/status/impl/HealthCheckStatusServiceImpl.java index 581b02c6..bd3712fc 100644 --- a/src/main/java/com/ctrip/zeus/service/status/impl/HealthCheckStatusServiceImpl.java +++ b/src/main/java/com/ctrip/zeus/service/status/impl/HealthCheckStatusServiceImpl.java @@ -138,11 +138,11 @@ public class HealthCheckStatusServiceImpl implements HealthCheckStatusService { } } } - if (updateStatusItems.size() > 0) { + } + if (updateStatusItems.size() > 0) { logger.info("[HealthCheckStatusService] start update status. size : " + updateStatusItems.size()); statusService.updateStatus(updateStatusItems); logger.info("[HealthCheckStatusService] end update status. size : " + updateStatusItems.size()); - } } } }