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

2021
Fishtail 1 week ago committed by GitHub
parent 27fc828960
commit b47ea4d759
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -21,3 +21,4 @@
- [feat: support traffic gray lane router](https://github.com/Tencent/spring-cloud-tencent/pull/1785)
- [fix: kafka lane support dynamic lane tag.](https://github.com/Tencent/spring-cloud-tencent/pull/1784)
- [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