Skip to content

Commit d97345f

Browse files
committed
fixing copy paste error in getting alert type in alert manager
1 parent c39bc04 commit d97345f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/com/cloud/alert/AlertManagerImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ private String getAlertType(short alertType) {
262262
if (alertType == ALERT_TYPE_MEMORY) {
263263
return "ALERT.MEMORY";
264264
} else if (alertType == ALERT_TYPE_CPU) {
265-
return "ALERT.MEMORY";
265+
return "ALERT.CPU";
266266
} else if (alertType == ALERT_TYPE_STORAGE) {
267267
return "ALERT.STORAGE";
268268
} else if (alertType == ALERT_TYPE_STORAGE_ALLOCATED) {

0 commit comments

Comments
 (0)