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>
This commit is contained in:
Bin Qian 2018-06-12 09:47:11 -04:00 committed by Jack Ding
parent d31c03457b
commit a1a492908b

View File

@ -183,7 +183,7 @@ static void sm_service_group_audit_service_for_status( void* user_data[],
break; break;
case SM_SERVICE_SEVERITY_MINOR: case SM_SERVICE_SEVERITY_MINOR:
sgm_imply_status = SM_SERVICE_STATUS_NONE; sgm_imply_status = SM_SERVICE_STATUS_WARN;
++(*warn); ++(*warn);
break; break;