You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ch...@apache.org on 2013/09/03 19:38:37 UTC

[2/4] git commit: updated refs/heads/master to bf967eb

Adding body and subject to the AlertGenerator's Event description hash


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c86f3bc9
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c86f3bc9
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c86f3bc9

Branch: refs/heads/master
Commit: c86f3bc9694f074e756e040e2c0298ca72bb6e12
Parents: 14ee684
Author: Chip Childers <ch...@apache.org>
Authored: Tue Sep 3 12:28:26 2013 -0400
Committer: Chip Childers <ch...@apache.org>
Committed: Tue Sep 3 12:28:26 2013 -0400

----------------------------------------------------------------------
 server/src/com/cloud/event/AlertGenerator.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c86f3bc9/server/src/com/cloud/event/AlertGenerator.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/event/AlertGenerator.java b/server/src/com/cloud/event/AlertGenerator.java
index b19500b..6e670de 100644
--- a/server/src/com/cloud/event/AlertGenerator.java
+++ b/server/src/com/cloud/event/AlertGenerator.java
@@ -85,6 +85,8 @@ public class AlertGenerator {
         } else {
             eventDescription.put("podId", null);
         }
+        eventDescription.put("subject", subject);
+        eventDescription.put("body", body);
 
         String eventDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());
         eventDescription.put("eventDateTime", eventDate);