mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 11:52:37 +09:00
bug #3138: Role VMs fails if the role is in pending
(cherry picked from commit 338a09104a)
This commit is contained in:
1 parent
e4d34aa849
commit
b6ae000ff5
1 file changed
+1
-1
@@ -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);
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user