[ server ] [ status ]- update some code - 1
This commit is contained in:
@@ -18,11 +18,9 @@ public enum AgentHealthyStatusEnum {
|
||||
|
||||
String status;
|
||||
|
||||
|
||||
String description;
|
||||
|
||||
|
||||
|
||||
AgentHealthyStatusEnum(String status, String description) {
|
||||
this.description = description;
|
||||
this.status = status;
|
||||
|
||||
@@ -12,7 +12,7 @@ import lombok.experimental.SuperBuilder;
|
||||
public class OctopusStatusMessage {
|
||||
|
||||
// below two will be used by both server and agent
|
||||
public static final String ALL_AGENT_STATUS_REDIS_KEY = "ALL_AGENT_STATUS";
|
||||
public static final String ALL_AGENT_STATUS_REDIS_KEY = "ALL_AGENT_HEALTHY_STATUS";
|
||||
public static final String HEALTHY_STATUS_MESSAGE_TYPE = "ping";
|
||||
public static final String ALL_STATUS_MESSAGE_TYPE = "all";
|
||||
public static final String METRIC_STATUS_MESSAGE_TYPE = "metric";
|
||||
|
||||
Reference in New Issue
Block a user