1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

bug #3138: Role VMs fails if the role is in pending

This commit is contained in:
Daniel Molina 2014-11-12 11:46:38 +01:00
parent 28fc833439
commit 338a09104a

View File

@ -4559,7 +4559,7 @@ function setup_info_flow(context) {
var role = $(this).closest(".provision_role_ul").data('role');
var vms = []
if (role.nodes.length > 0) {
if (role.nodes && role.nodes.length > 0) {
$.each(role.nodes, function(index, node){
vms.push(node.vm_info);
})