Commit 32bf6f4b authored by Christos Tranoris's avatar Christos Tranoris
Browse files

fix null pointer

parent 80cbd55a
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -163,8 +163,8 @@ public class PrometheusQueries {

        job = jobService.startJob(queryHandler, job);
        if (job.getState() == ExecutionStateType.FAILED) {
            jobService.stopJob(ajob);
            return null;
            jobService.stopJob(job);
            return job;
        }

        if (job.getEndDateTime() != null) {