Merge pull request #673 from nlewo/jobset-error

Add error boolean attribute to jobset API response
This commit is contained in:
Graham Christensen 2019-08-26 10:23:52 -04:00 committed by GitHub
commit 906d2493c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
};
}