This is an automated email from the ASF dual-hosted git repository.
jxue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git
The following commit(s) were added to refs/heads/master by this push:
new b226eb9 Change the error message to be meaningful naming (#1041)
b226eb9 is described below
commit b226eb9f916270238e6f08972eff5bf41027fdb7
Author: Junkai Xue <[email protected]>
AuthorDate: Wed Jun 3 20:57:28 2020 -0700
Change the error message to be meaningful naming (#1041)
---
.../org/apache/helix/rest/server/json/instance/StoppableCheck.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/helix-rest/src/main/java/org/apache/helix/rest/server/json/instance/StoppableCheck.java
b/helix-rest/src/main/java/org/apache/helix/rest/server/json/instance/StoppableCheck.java
index b2e72bf..1013238 100644
---
a/helix-rest/src/main/java/org/apache/helix/rest/server/json/instance/StoppableCheck.java
+++
b/helix-rest/src/main/java/org/apache/helix/rest/server/json/instance/StoppableCheck.java
@@ -29,9 +29,9 @@ import com.google.common.collect.Maps;
public class StoppableCheck {
// Category to differentiate which step the check fails
public enum Category {
- HELIX_OWN_CHECK("Helix:"),
- CUSTOM_INSTANCE_CHECK("CustomInstance:"),
- CUSTOM_PARTITION_CHECK("CustomPartition:");
+ HELIX_OWN_CHECK("HELIX:"),
+ CUSTOM_INSTANCE_CHECK("CUSTOM_INSTANCE_HEALTH_FAILURE:"),
+ CUSTOM_PARTITION_CHECK("CUSTOM_PARTITION_HEALTH_FAILURE:");
String prefix;