mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
Adding body and subject to the AlertGenerator's Event description hash
This commit is contained in:
parent
14ee684ce3
commit
c86f3bc969
@ -85,6 +85,8 @@ public class AlertGenerator {
|
|||||||
} else {
|
} else {
|
||||||
eventDescription.put("podId", null);
|
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());
|
String eventDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());
|
||||||
eventDescription.put("eventDateTime", eventDate);
|
eventDescription.put("eventDateTime", eventDate);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user