forked from lix-project/hydra
Extend the jobset API response
This adds the following (pre-existing) attributes to the jobset response: - nrtotal - lastcheckedtime - starttime - checkinterval - triggertime - fetcherrormsg - errortime
This commit is contained in:
parent
c8a4030c5f
commit
919195b04f
|
@ -81,7 +81,13 @@ sub jobsetToHash {
|
||||||
nrscheduled => $jobset->get_column("nrscheduled"),
|
nrscheduled => $jobset->get_column("nrscheduled"),
|
||||||
nrsucceeded => $jobset->get_column("nrsucceeded"),
|
nrsucceeded => $jobset->get_column("nrsucceeded"),
|
||||||
nrfailed => $jobset->get_column("nrfailed"),
|
nrfailed => $jobset->get_column("nrfailed"),
|
||||||
nrtotal => $jobset->get_column("nrtotal")
|
nrtotal => $jobset->get_column("nrtotal"),
|
||||||
|
lastcheckedtime => $jobset->lastcheckedtime,
|
||||||
|
starttime => $jobset->starttime,
|
||||||
|
checkinterval => $jobset->checkinterval,
|
||||||
|
triggertime => $jobset->triggertime,
|
||||||
|
fetcherrormsg => $jobset->fetcherrormsg,
|
||||||
|
errortime => $jobset->errortime
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue