DaanHoogland commented on code in PR #14051:
URL: https://github.com/apache/cloudstack/pull/14051#discussion_r3932767651


##########
server/src/main/java/com/cloud/network/vpc/NetworkACLServiceImpl.java:
##########
@@ -1109,7 +1109,7 @@ private NetworkACLItem createACLRuleFromMap(Map<String, 
Object> ruleMap, long ac
             throw new InvalidParameterValueException("Protocol is required");
         }
         String action = (String) ruleMap.getOrDefault(ApiConstants.ACTION, 
"deny");
-        String trafficType = (String) 
ruleMap.getOrDefault(ApiConstants.TRAFFIC_TYPE, 
NetworkACLItem.TrafficType.Ingress);
+        String trafficType = (String) 
ruleMap.getOrDefault(ApiConstants.TRAFFIC_TYPE, 
NetworkACLItem.TrafficType.Ingress.toString());

Review Comment:
   @nagaboinaramgopal , did you encounter an issue that made you implement this?



-- 
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