You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2019/07/17 14:43:52 UTC
[cloudstack] branch master updated: ui: Fix SystemVMs public range
dedication (#3495)
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/master by this push:
new a1faf09 ui: Fix SystemVMs public range dedication (#3495)
a1faf09 is described below
commit a1faf09a2c1d860d5b3c82c0680ac5e69563e33f
Author: Nicolas Vazquez <ni...@gmail.com>
AuthorDate: Wed Jul 17 11:43:40 2019 -0300
ui: Fix SystemVMs public range dedication (#3495)
Fix small UI issue when dedicating public IR range for system VMs:
Unable to execute API command createvlaniprange due to invalid value. Invalid parameter domainid value=undefined due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
Fixes: #3485
---
ui/scripts/system.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index c3f7a2b..f6ef03c 100755
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -496,11 +496,13 @@
if (args.data.account) {
if (args.data.account.account)
array1.push("&account=" + args.data.account.account);
+ if (args.data.account.domainid) {
+ array1.push("&domainid=" + args.data.account.domainid);
+ }
if (args.data.account.systemvms) {
systvmsval = args.data.account.systemvms == "on" ? "true" : "false"
array1.push("&forsystemvms=" + systvmsval);
}
- array1.push("&domainid=" + args.data.account.domainid);
}
array1.push("&forVirtualNetwork=true");