Skip to content

Commit b9864cb

Browse files
server: fix vm deployment without networkid in a zone with shared networks (#11242)
1 parent de5188e commit b9864cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/com/cloud/network/NetworkModelImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ public NetworkVO getNetworkWithSGWithFreeIPs(Account account, Long zoneId) {
797797
NetworkVO ret_network = null;
798798
for (NetworkVO nw : networks) {
799799
try {
800-
checkAccountNetworkPermissions(account, nw);
800+
checkNetworkPermissions(account, nw);
801801
} catch (PermissionDeniedException e) {
802802
continue;
803803
}

0 commit comments

Comments
 (0)