mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
bug #3262: Hosts in init/error state has no hypervisor defined
This commit is contained in:
parent
13a654bea6
commit
9aff29cfb0
@ -766,7 +766,7 @@ function updateHostInfo(request,host){
|
||||
var stripped_host_template = {};
|
||||
var unshown_values = {};
|
||||
|
||||
if (host_info.TEMPLATE.HYPERVISOR.toLowerCase() != "vcenter")
|
||||
if (host_info.TEMPLATE.HYPERVISOR && host_info.TEMPLATE.HYPERVISOR.toLowerCase() != "vcenter")
|
||||
{
|
||||
stripped_host_template = host_info.TEMPLATE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user