Copilot commented on code in PR #10812: URL: https://github.com/apache/cloudstack/pull/10812#discussion_r2073022262
########## plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java: ########## @@ -4846,6 +4846,8 @@ protected long getMemoryFreeInKBs(Domain dm) throws LibvirtException { } private boolean canBridgeFirewall(final String prvNic) { + if (getAllowNestedVMAccess()) + return true; // If nested VM is allowed, then we skip call to security group and allow bypassing firewall Review Comment: [nitpick] Consider adding braces around the single-line if statement to enhance readability and reduce potential errors in future modifications. ```suggestion if (getAllowNestedVMAccess()) { return true; // If nested VM is allowed, then we skip call to security group and allow bypassing firewall } ``` -- 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