summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Qian <bin.qian@windriver.com>2018-06-12 09:47:11 -0400
committerJack Ding <jack.ding@windriver.com>2018-07-23 12:15:39 -0400
commita1a492908b8d654c4365846756a0af00b4e4388d (patch)
tree19033ba476b3a8a4b0599d26996016ec8775b826
parentd31c03457bdc6cdd76edb100a695caa5b070df4f (diff)
Fix minor impact alarm in SM service group audit
The issue was discovered when no alarm event generated after killing nova-novnc or vim-webserver process 2+ times. Story: 2002855 Task: 22804 Change-Id: Id1735742eb9494f2ed88609496de42c093488040 Signed-off-by: Jack Ding <jack.ding@windriver.com>
Notes
Notes (review): Code-Review+2: John Kung <john.kung@windriver.com> Workflow+1: Jack Ding <Jack.Ding@windriver.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 23 Jul 2018 17:26:00 +0000 Reviewed-on: https://review.openstack.org/584960 Project: openstack/stx-ha Branch: refs/heads/master
-rw-r--r--service-mgmt/sm-1.0.0/src/sm_service_group_audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service-mgmt/sm-1.0.0/src/sm_service_group_audit.c b/service-mgmt/sm-1.0.0/src/sm_service_group_audit.c
index c07a572..226ab32 100644
--- a/service-mgmt/sm-1.0.0/src/sm_service_group_audit.c
+++ b/service-mgmt/sm-1.0.0/src/sm_service_group_audit.c
@@ -183,7 +183,7 @@ static void sm_service_group_audit_service_for_status( void* user_data[],
183 break; 183 break;
184 184
185 case SM_SERVICE_SEVERITY_MINOR: 185 case SM_SERVICE_SEVERITY_MINOR:
186 sgm_imply_status = SM_SERVICE_STATUS_NONE; 186 sgm_imply_status = SM_SERVICE_STATUS_WARN;
187 ++(*warn); 187 ++(*warn);
188 break; 188 break;
189 189