shwstppr commented on code in PR #11325:
URL: https://github.com/apache/cloudstack/pull/11325#discussion_r2247600092


##########
api/src/main/java/org/apache/cloudstack/alert/AlertService.java:
##########
@@ -108,9 +117,13 @@ public static AlertType generateAlert(short type, String 
name) {
             if (defaultAlert != null && 
!defaultAlert.getName().equalsIgnoreCase(name)) {
                 throw new InvalidParameterValueException("There is a default 
alert having type " + type + " and name " + defaultAlert.getName());
             } else {
-                return new AlertType(type, name, false);
+                return new AlertType(type, name, false, false);

Review Comment:
   Latest changes will allow that if operator has added the type name in the 
config,
   
   <img width="1225" height="476" alt="image" 
src="https://github.com/user-attachments/assets/76f6d76d-0de4-412e-b0b2-ca51743b60c1";
 />
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to