forked from lix-project/hydra
Update haserrormsg logic implementation.
This commit is contained in:
parent
de24771a8e
commit
cdd9d6e071
|
@ -88,7 +88,7 @@ sub jobsetToHash {
|
||||||
triggertime => $jobset->triggertime,
|
triggertime => $jobset->triggertime,
|
||||||
fetcherrormsg => $jobset->fetcherrormsg,
|
fetcherrormsg => $jobset->fetcherrormsg,
|
||||||
errortime => $jobset->errortime,
|
errortime => $jobset->errortime,
|
||||||
haserrormsg => defined($jobset->errormsg) ? ($jobset->errormsg eq "" ? JSON::false : JSON::true) : JSON::false
|
haserrormsg => defined($jobset->errormsg) && $jobset->errormsg ne "" ? JSON::true : JSON::false
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue