mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fixing the listAlerts api call to return the correct format for the sent on field
This commit is contained in:
parent
87b16702fe
commit
d8cc85c42f
@ -91,7 +91,7 @@ public class ListAlertsCmd extends BaseCmd{
|
||||
List<Pair<String, Object>> alertData = new ArrayList<Pair<String, Object>>();
|
||||
alertData.add(new Pair<String, Object>(BaseCmd.Properties.TYPE.getName(), alert.getType()));
|
||||
alertData.add(new Pair<String, Object>(BaseCmd.Properties.DESCRIPTION.getName(), alert.getSubject()));
|
||||
alertData.add(new Pair<String, Object>(BaseCmd.Properties.SENT.getName(), alert.getLastSent()));
|
||||
alertData.add(new Pair<String, Object>(BaseCmd.Properties.SENT.getName(), getDateString(alert.getLastSent())));
|
||||
aTag[i++] = alertData;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user