Skip to content

Commit

Permalink
[ML] fix job and datafeed states check
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed Jul 22, 2021
1 parent 8c3b9dd commit a6e0f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/ml/server/lib/alerts/jobs_health_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export function jobsHealthServiceProvider(
})
.filter(
(datafeedStat) =>
datafeedStat.state !== 'started' && datafeedStat.job_state !== 'opened'
datafeedStat.state !== 'started' || datafeedStat.job_state !== 'opened'
);
}
},
Expand Down

0 comments on commit a6e0f92

Please sign in to comment.