summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShiwei Tian <tian.shiwei@zte.com.cn>2017-09-28 19:12:48 +0800
committerShiwei Tian <tian.shiwei@zte.com.cn>2017-09-28 19:12:48 +0800
commitb39013bd75f7a90dde195ed7da3ad58fdf415a12 (patch)
tree750832cdc042c9ed117d7a10e5c5935fa14b2f67
parentff81839411f5dc266c39300d4fe38044e8805cff (diff)
modify VesAlarm
Issue-ID: HOLMES-44 Change-Id: I96c65a720291efde7bda3a13134f6bcb80c5126a Signed-off-by: Shiwei Tian <tian.shiwei@zte.com.cn>
-rw-r--r--holmes-actions/src/main/java/org/onap/holmes/common/api/stat/VesAlarm.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/holmes-actions/src/main/java/org/onap/holmes/common/api/stat/VesAlarm.java b/holmes-actions/src/main/java/org/onap/holmes/common/api/stat/VesAlarm.java
index 56a7a11..f43d3bd 100644
--- a/holmes-actions/src/main/java/org/onap/holmes/common/api/stat/VesAlarm.java
+++ b/holmes-actions/src/main/java/org/onap/holmes/common/api/stat/VesAlarm.java
@@ -52,8 +52,8 @@ public class VesAlarm implements Cloneable, Serializable{
private String specificProblem;
private String vfStatus;
private String parentId;
- private int alarmIsCleared; //mark as 1 when alarm type is cleared, else mark as 2
- private int rootFlag; // mark as 1 when alarm is a root alarm , else mark as 2
+ private int alarmIsCleared = 0; //mark as 1 when alarm type is cleared, else mark as 0
+ private int rootFlag = 0; // mark as 1 when alarm is a root alarm , else mark as 0
@Override
public int hashCode() {