Skip to content

Commit 13ccded

Browse files
committed
fixing tests
1 parent 660af5c commit 13ccded

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

x-pack/plugins/ml/server/routes/schemas/anomaly_detectors_schema.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const detectorSchema = schema.object({
3030
use_null: schema.maybe(schema.boolean()),
3131
/** Custom rules */
3232
custom_rules: customRulesSchema,
33+
detector_index: schema.maybe(schema.number()),
3334
});
3435

3536
const customUrlSchema = {

x-pack/test/functional/apps/ml/anomaly_detection/single_metric_viewer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ export default function ({ getService }: FtrProviderContext) {
105105
field_name: 'taxless_total_price',
106106
over_field_name: 'geoip.city_name',
107107
partition_field_name: 'day_of_week',
108-
detector_index: 0,
109108
},
110109
],
111110
influencers: ['day_of_week'],

0 commit comments

Comments
 (0)