Skip to content

Commit

Permalink
server: apply network ACL even if there is no network ACLs in the ACL…
Browse files Browse the repository at this point in the history
… list (apache#9374)
  • Loading branch information
weizhouapache authored Sep 24, 2024
1 parent 00bb9ec commit 2398b5c
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,6 @@ public boolean associatePublicIP(final Network network, final List<? extends Pub
public boolean applyNetworkACLs(final Network network, final List<? extends NetworkACLItem> rules, final VirtualRouter router, final boolean isPrivateGateway)
throws ResourceUnavailableException {

if (rules == null || rules.isEmpty()) {
s_logger.debug("No network ACLs to be applied for network " + network.getId());
return true;
}

s_logger.debug("APPLYING NETWORK ACLs RULES");

final String typeString = "network acls";
Expand Down

0 comments on commit 2398b5c

Please sign in to comment.