forked from lix-project/hydra
Merge pull request #673 from nlewo/jobset-error
Add error boolean attribute to jobset API response
This commit is contained in:
commit
906d2493c5
|
@ -87,7 +87,8 @@ sub jobsetToHash {
|
|||
checkinterval => $jobset->checkinterval,
|
||||
triggertime => $jobset->triggertime,
|
||||
fetcherrormsg => $jobset->fetcherrormsg,
|
||||
errortime => $jobset->errortime
|
||||
errortime => $jobset->errortime,
|
||||
haserrormsg => $jobset->errormsg eq "" ? JSON::false : JSON::true
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue