SadiJr commented on code in PR #7235:
URL: https://github.com/apache/cloudstack/pull/7235#discussion_r1424010267


##########
api/src/main/java/com/cloud/event/EventTypes.java:
##########
@@ -1172,4 +1172,8 @@ public static Class getEntityClassForEvent(String 
eventName) {
 
         return null;
     }
+
+    public static boolean isVpcEvent(String eventType) {
+        return EventTypes.EVENT_VPC_CREATE.equals(eventType) || 
EventTypes.EVENT_VPC_DELETE.equals(eventType);

Review Comment:
   @DaanHoogland from my point of view, as the VPC update API only changes 
metadata such as name, MTU, etc., I see no need to handle the update event here.



-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to