Skip to content

Commit efd6dd4

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 b8ed872 commit efd6dd4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎ui/scripts/system.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11446,8 +11446,8 @@
1144611446
array1.push("&podid=" + args.context.pods[0].id);
1144711447
if ("clusters" in args.context)
1144811448
array1.push("&clusterid=" + args.context.clusters[0].id);
11449-
} else {
11450-
array1.push("&hostid=" + args.context.instances[0].hostid);
11449+
} else { //Instances menu > Instance detailView > View Hosts
11450+
array1.push("&id=" + args.context.instances[0].hostid);
1145111451
}
1145211452

1145311453
$.ajax({

0 commit comments

Comments
 (0)