Skip to content

Commit

Permalink
[ML] remove TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed Oct 30, 2020
1 parent a9a810e commit 49f3d0e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ export function getControlsForDetector(
// For jobs with by and over fields, don't add the 'by' field as this
// field will only be added to the top-level fields for record type results
// if it also an influencer over the bucket.
// TODO - metric data can be filtered by this field, so should only exclude
// from filter for the anomaly records.
if (byFieldName !== undefined && overFieldName === undefined) {
const byFieldValue = entitiesState?.[byFieldName] ?? null;
entities.push({ fieldType: 'by_field', fieldName: byFieldName, fieldValue: byFieldValue });
Expand Down

0 comments on commit 49f3d0e

Please sign in to comment.