mirror of https://github.com/apache/cloudstack.git
fixing copy paste error in getting alert type in alert manager
This commit is contained in:
parent
c39bc04be6
commit
d97345f0a2
|
|
@ -262,7 +262,7 @@ public class AlertManagerImpl extends ManagerBase implements AlertManager, Confi
|
|||
if (alertType == ALERT_TYPE_MEMORY) {
|
||||
return "ALERT.MEMORY";
|
||||
} else if (alertType == ALERT_TYPE_CPU) {
|
||||
return "ALERT.MEMORY";
|
||||
return "ALERT.CPU";
|
||||
} else if (alertType == ALERT_TYPE_STORAGE) {
|
||||
return "ALERT.STORAGE";
|
||||
} else if (alertType == ALERT_TYPE_STORAGE_ALLOCATED) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue