From bbad9d69b08f0b7acfc2a5d7b4a0110a92283dd5 Mon Sep 17 00:00:00 2001 From: Beldon <1047325205@qq.com> Date: Sun, 25 Aug 2019 20:23:05 +0800 Subject: [PATCH] fix #1764. --- .../nacos/naming/healthcheck/HealthCheckProcessorDelegate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/naming/src/main/java/com/alibaba/nacos/naming/healthcheck/HealthCheckProcessorDelegate.java b/naming/src/main/java/com/alibaba/nacos/naming/healthcheck/HealthCheckProcessorDelegate.java index 1de6acb09..8f4ad5c0a 100644 --- a/naming/src/main/java/com/alibaba/nacos/naming/healthcheck/HealthCheckProcessorDelegate.java +++ b/naming/src/main/java/com/alibaba/nacos/naming/healthcheck/HealthCheckProcessorDelegate.java @@ -50,7 +50,7 @@ public class HealthCheckProcessorDelegate implements HealthCheckProcessor { String type = task.getCluster().getHealthChecker().getType(); HealthCheckProcessor processor = healthCheckProcessorMap.get(type); if(processor == null){ - processor = healthCheckProcessorMap.get("none"); + processor = healthCheckProcessorMap.get("NONE"); } processor.process(task);