fix: fix lane router property name. (#1789)

Signed-off-by: Haotian Zhang <928016560@qq.com>
2023
Fishtail 2 weeks ago committed by Haotian Zhang
parent 3ea2878c5b
commit d26a21081d

@ -51,4 +51,5 @@
- [fix: fix NacosDiscoveryRegistryAutoConfiguration and PolarisAuthAutoConfiguration still initiation when polaris disabled.](https://github.com/Tencent/spring-cloud-tencent/pull/1783)
- [fix: fix cb rule no update bug.](https://github.com/Tencent/spring-cloud-tencent/pull/1786)
- [feat: support traffic gray lane router](https://github.com/Tencent/spring-cloud-tencent/pull/1785)
- [fix: fix NPE when application context is null #1787](https://github.com/Tencent/spring-cloud-tencent/pull/1787)
- [fix: fix NPE when application context is null #1787](https://github.com/Tencent/spring-cloud-tencent/pull/1787)
- [fix: fix lane router property name.](https://github.com/Tencent/spring-cloud-tencent/pull/1789)

@ -183,10 +183,10 @@ public final class TsfCoreEnvironmentPostProcessor implements EnvironmentPostPro
environment.getProperty("spring.cloud.polaris.router.namespace-router.enabled", "true"));
defaultProperties.put("spring.cloud.polaris.discovery.all-recover-enabled",
environment.getProperty("spring.cloud.polaris.discovery.all-recover-enabled", "false"));
defaultProperties.put("spring.cloud.polaris.lane.router.enabled",
environment.getProperty("spring.cloud.polaris.lane.router.enabled", "true"));
defaultProperties.put("spring.cloud.polaris.lane.router.baseLaneMode",
environment.getProperty("spring.cloud.polaris.lane.router.baseLaneMode", BaseLaneMode.EXCLUDE_ENABLED_LANE_INSTANCE.name()));
defaultProperties.put("spring.cloud.polaris.router.lane-router.enabled",
environment.getProperty("spring.cloud.polaris.router.lane-router.enabled", "true"));
defaultProperties.put("spring.cloud.polaris.router.lane-router.baseLaneMode",
environment.getProperty("spring.cloud.polaris.router.lane-router.baseLaneMode", BaseLaneMode.EXCLUDE_ENABLED_LANE_INSTANCE.name()));
}
}

Loading…
Cancel
Save