From 6990b2c361990f6a10445ed79f86b1a5ef2e7c86 Mon Sep 17 00:00:00 2001 From: smallchill Date: Thu, 3 Jan 2019 14:11:51 +0800 Subject: [PATCH] :tada: 1.0.0-RC3. --- .../java/org/springblade/core/launch/consul/ConsulConstant.java | 2 +- .../core/launch/consul/ConsulLauncherServiceImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blade-core-launch/src/main/java/org/springblade/core/launch/consul/ConsulConstant.java b/blade-core-launch/src/main/java/org/springblade/core/launch/consul/ConsulConstant.java index d96066e..a616b05 100644 --- a/blade-core-launch/src/main/java/org/springblade/core/launch/consul/ConsulConstant.java +++ b/blade-core-launch/src/main/java/org/springblade/core/launch/consul/ConsulConstant.java @@ -45,7 +45,7 @@ public interface ConsulConstant { /** * enabled key */ - String CONSUL_WATCH_ENABLEd_KEY = "spring.cloud.consul.watch.enabled"; + String CONSUL_WATCH_ENABLED_KEY = "spring.cloud.consul.watch.enabled"; /** * consul dev 地址 diff --git a/blade-core-launch/src/main/java/org/springblade/core/launch/consul/ConsulLauncherServiceImpl.java b/blade-core-launch/src/main/java/org/springblade/core/launch/consul/ConsulLauncherServiceImpl.java index 4a01e6c..7431988 100644 --- a/blade-core-launch/src/main/java/org/springblade/core/launch/consul/ConsulLauncherServiceImpl.java +++ b/blade-core-launch/src/main/java/org/springblade/core/launch/consul/ConsulLauncherServiceImpl.java @@ -39,7 +39,7 @@ public class ConsulLauncherServiceImpl implements LauncherService { } props.setProperty(ConsulConstant.CONSUL_CONFIG_FORMAT_KEY, ConsulConstant.CONSUL_CONFIG_FORMAT); props.setProperty(ConsulConstant.CONSUL_WATCH_DELAY_KEY, ConsulConstant.CONSUL_WATCH_DELAY); - props.setProperty(ConsulConstant.CONSUL_WATCH_ENABLEd_KEY, ConsulConstant.CONSUL_WATCH_ENABLED); + props.setProperty(ConsulConstant.CONSUL_WATCH_ENABLED_KEY, ConsulConstant.CONSUL_WATCH_ENABLED); } }