Skip to content

Commit a1faf09

Browse files
nvazquezyadvr
authored andcommitted
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
1 parent e15c311 commit a1faf09

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ui/scripts/system.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,11 +496,13 @@
496496
if (args.data.account) {
497497
if (args.data.account.account)
498498
array1.push("&account=" + args.data.account.account);
499+
if (args.data.account.domainid) {
500+
array1.push("&domainid=" + args.data.account.domainid);
501+
}
499502
if (args.data.account.systemvms) {
500503
systvmsval = args.data.account.systemvms == "on" ? "true" : "false"
501504
array1.push("&forsystemvms=" + systvmsval);
502505
}
503-
array1.push("&domainid=" + args.data.account.domainid);
504506
}
505507

506508
array1.push("&forVirtualNetwork=true");

0 commit comments

Comments
 (0)