Skip to content

Commit fe77f5f

Browse files
server: apply network ACL even if there is no network ACLs in the ACL list (#9374) (#10241)
1 parent dfd64b1 commit fe77f5f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

server/src/main/java/org/apache/cloudstack/network/topology/AdvancedNetworkTopology.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,6 @@ public boolean associatePublicIP(final Network network, final List<? extends Pub
229229
public boolean applyNetworkACLs(final Network network, final List<? extends NetworkACLItem> rules, final VirtualRouter router, final boolean isPrivateGateway)
230230
throws ResourceUnavailableException {
231231

232-
if (rules == null || rules.isEmpty()) {
233-
logger.debug("No network ACLs to be applied for network {}", network);
234-
return true;
235-
}
236-
237232
logger.debug("APPLYING NETWORK ACLs RULES");
238233

239234
final String typeString = "network acls";

0 commit comments

Comments
 (0)