Skip to content

Commit 0731356

Browse files
weizhouapachedhslove
authored andcommitted
server: fix vm deployment without networkid in a zone with shared networks (apache#11242)
1 parent 32506b1 commit 0731356

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

0 commit comments

Comments
 (0)