fix:fix wrong isAliveFlag config when creating new PolarisServer.

pull/179/head
SkyeBeFreeman 3 years ago
parent b59b80a686
commit 734be5032f

@ -1,5 +1,4 @@
# Change Log # Change Log
--- ---
- [fix:fix wrong context data storage.](https://github.com/Tencent/spring-cloud-tencent/pull/170) - [fix:fix wrong isAliveFlag config when creating new PolarisServer.](https://github.com/Tencent/spring-cloud-tencent/pull/179)
- [fix:fix route not refreshing bug when first instance of one service up.](https://github.com/Tencent/spring-cloud-tencent/pull/174)

@ -0,0 +1,5 @@
# Change Log
---
- [fix:fix wrong context data storage.](https://github.com/Tencent/spring-cloud-tencent/pull/170)
- [fix:fix route not refreshing bug when first instance of one service up.](https://github.com/Tencent/spring-cloud-tencent/pull/174)

@ -86,7 +86,7 @@
<properties> <properties>
<!-- Project revision --> <!-- Project revision -->
<revision>1.4.3-Hoxton.SR9</revision> <revision>1.4.4-Hoxton.SR9</revision>
<!-- Spring Cloud --> <!-- Spring Cloud -->
<spring.cloud.version>Hoxton.SR9</spring.cloud.version> <spring.cloud.version>Hoxton.SR9</spring.cloud.version>

@ -48,6 +48,7 @@ public class PolarisServer extends Server {
} }
this.serviceInstances = serviceInstances; this.serviceInstances = serviceInstances;
this.instance = instance; this.instance = instance;
this.setAlive(true);
this.metaInfo = new MetaInfo() { this.metaInfo = new MetaInfo() {
@Override @Override
public String getAppName() { public String getAppName() {

@ -70,7 +70,7 @@
</developers> </developers>
<properties> <properties>
<revision>1.4.3-Hoxton.SR9</revision> <revision>1.4.4-Hoxton.SR9</revision>
<polaris.version>1.5.2</polaris.version> <polaris.version>1.5.2</polaris.version>
<powermock.version>2.0.0</powermock.version> <powermock.version>2.0.0</powermock.version>

Loading…
Cancel
Save