Skip to content

Commit dc8f053

Browse files
author
Jessica Wang
committed
CLOUDSTACK-3105: UI > Instances menu > Instance detailView > View Hosts > fix a bug that wrong parameter name is passed to listHosts API.
1 parent 0b69e89 commit dc8f053

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/scripts/system.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11440,8 +11440,8 @@
1144011440
array1.push("&podid=" + args.context.pods[0].id);
1144111441
if ("clusters" in args.context)
1144211442
array1.push("&clusterid=" + args.context.clusters[0].id);
11443-
} else {
11444-
array1.push("&hostid=" + args.context.instances[0].hostid);
11443+
} else { //Instances menu > Instance detailView > View Hosts
11444+
array1.push("&id=" + args.context.instances[0].hostid);
1144511445
}
1144611446

1144711447
$.ajax({

0 commit comments

Comments
 (0)