mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
This commit is contained in:
parent
2ed1191622
commit
947c9716cd
@ -185,6 +185,8 @@ define(function(require) {
|
||||
|
||||
function leasesClock(element){
|
||||
var rtn = "";
|
||||
// The charter info is pulled from the schedule action of the first VM of the first role
|
||||
// (element.TEMPLATE.BODY.roles[0].vm_template_contents.SCHED_ACTION)
|
||||
if(element && element.TEMPLATE && element.TEMPLATE.BODY && element.TEMPLATE.BODY.start_time && element.TEMPLATE.BODY.roles){
|
||||
var startTime = element.TEMPLATE.BODY.start_time;
|
||||
var roles = Array.isArray(element.TEMPLATE.BODY.roles)? element.TEMPLATE.BODY.roles: [element.TEMPLATE.BODY.roles];
|
||||
|
Loading…
x
Reference in New Issue
Block a user