Skip to content

Commit 43479a1

Browse files
committed
server: fix vm deployment without networkid in a zone with shared networks
1 parent 06c80cd commit 43479a1

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)