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
---
- [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)
- [fix:fix wrong isAliveFlag config when creating new PolarisServer.](https://github.com/Tencent/spring-cloud-tencent/pull/179)

@ -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>
<!-- Project revision -->
<revision>1.4.3-Hoxton.SR9</revision>
<revision>1.4.4-Hoxton.SR9</revision>
<!-- Spring Cloud -->
<spring.cloud.version>Hoxton.SR9</spring.cloud.version>

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

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

Loading…
Cancel
Save