correct yaml error, better error handling

This commit is contained in:
andreas committed 2023-10-02 20:38:15 +02:00
1 parent faa946c8dc
commit d0c7651864
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ function getJobStatus($pipeline,$wf=workflowName,$job=jobName){
if (! isset($pstat['state'])){
throw new Exception("state not set");
}
if ($pstat['state'] != 'created'){
if ($pstat['state'] == 'created'){
return $pstat;
}
$pipeline_id=$pstat['id'];