mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
cloudstack UI - regular user in project view - VPC - tier - deploy VM - should pass projectid instead of account parameter to deployVirtualMachine API.
This commit is contained in:
parent
939e060e2e
commit
10a5bdab49
@ -523,7 +523,11 @@
|
||||
if(args.context.networks != null) { //from VPC tier
|
||||
array1.push("&networkIds=" + args.context.networks[0].id);
|
||||
array1.push("&domainid=" + args.context.vpc[0].domainid);
|
||||
array1.push("&account=" + args.context.vpc[0].account);
|
||||
|
||||
if(args.context.vpc[0].account != null)
|
||||
array1.push("&account=" + args.context.vpc[0].account);
|
||||
else if(args.context.vpc[0].projectid != null)
|
||||
array1.push("&projectid=" + args.context.vpc[0].projectid);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user