mooli tayer has uploaded a new change for review.

Change subject: tools: send db unavailable notification as 'alert' not 'solved'
......................................................................

tools: send db unavailable notification as 'alert' not 'solved'

Change-Id: I6d8637a7cafcafc94eef80a2286530d40f4236c0
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1007392
Signed-off-by: Mooli Tayer <[email protected]>
---
M 
backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/NotificationService.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/94/21594/1

diff --git 
a/backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/NotificationService.java
 
b/backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/NotificationService.java
index 224ecfe..18392c5 100644
--- 
a/backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/NotificationService.java
+++ 
b/backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/NotificationService.java
@@ -408,7 +408,7 @@
         List<EventAuditLogSubscriber> failedQueriesEventSubscribers = new 
LinkedList<>();
         for (String email:emailRecipients.split(",")){
             EventAuditLogSubscriber eals = new EventAuditLogSubscriber();
-            eals.setevent_type(0);
+            eals.setevent_type(1);
             eals.setevent_up_name("DATABASE_UNREACHABLE");
             eals.setmethod_id(EventNotificationMethods.EMAIL.getValue());
             eals.setmethod_address(StringUtils.strip(email));


-- 
To view, visit http://gerrit.ovirt.org/21594
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6d8637a7cafcafc94eef80a2286530d40f4236c0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: mooli tayer <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to