mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 03:42:52 +09:00
bug #3262: Hosts in init/error state has no hypervisor defined
This commit is contained in:
1 parent
13a654bea6
commit
9aff29cfb0
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user