mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
server: fix vm deployment without networkid in a zone with shared networks (#11242)
This commit is contained in:
parent
de5188e50c
commit
b9864cb1e1
@ -797,7 +797,7 @@ public class NetworkModelImpl extends ManagerBase implements NetworkModel, Confi
|
||||
NetworkVO ret_network = null;
|
||||
for (NetworkVO nw : networks) {
|
||||
try {
|
||||
checkAccountNetworkPermissions(account, nw);
|
||||
checkNetworkPermissions(account, nw);
|
||||
} catch (PermissionDeniedException e) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user