You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by wu...@apache.org on 2018/01/10 07:38:37 UTC
[incubator-servicecomb-java-chassis] 13/13: SCB-166 rename field
isHealthy -> healthy
This is an automated email from the ASF dual-hosted git repository.
wujimin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-java-chassis.git
commit 1909b0c2df431adb6edb9010e299f1746b189277
Author: zhengyangyong <ya...@huawei.com>
AuthorDate: Wed Jan 10 15:01:49 2018 +0800
SCB-166 rename field isHealthy -> healthy
Signed-off-by: zhengyangyong <ya...@huawei.com>
---
.../java/io/servicecomb/metrics/common/HealthCheckResult.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/metrics/metrics-common/src/main/java/io/servicecomb/metrics/common/HealthCheckResult.java b/metrics/metrics-common/src/main/java/io/servicecomb/metrics/common/HealthCheckResult.java
index 022250e..168991b 100644
--- a/metrics/metrics-common/src/main/java/io/servicecomb/metrics/common/HealthCheckResult.java
+++ b/metrics/metrics-common/src/main/java/io/servicecomb/metrics/common/HealthCheckResult.java
@@ -18,7 +18,7 @@
package io.servicecomb.metrics.common;
public class HealthCheckResult {
- private boolean isHealthy;
+ private boolean healthy;
private String information;
@@ -28,7 +28,7 @@ public class HealthCheckResult {
private long timestamp;
public boolean isHealthy() {
- return isHealthy;
+ return healthy;
}
public String getInformation() {
@@ -46,9 +46,9 @@ public class HealthCheckResult {
public HealthCheckResult() {
}
- public HealthCheckResult(boolean isHealthy, String information, String extraData) {
+ public HealthCheckResult(boolean healthy, String information, String extraData) {
this();
- this.isHealthy = isHealthy;
+ this.healthy = healthy;
this.information = information;
this.extraData = extraData;
this.timestamp = System.currentTimeMillis();
--
To stop receiving notification emails like this one, please contact
"commits@servicecomb.apache.org" <co...@servicecomb.apache.org>.