From 9769d94bbee31eab5bb5def1fa10a25beb9edc05 Mon Sep 17 00:00:00 2001 From: Quynh Nguyen Date: Thu, 5 Nov 2020 14:25:56 -0600 Subject: [PATCH] [ML] Fix allowMMLGreaterThanMax changed to undefined previously --- .../server/models/job_validation/validate_model_memory_limit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/ml/server/models/job_validation/validate_model_memory_limit.ts b/x-pack/plugins/ml/server/models/job_validation/validate_model_memory_limit.ts index bdf90986e6a01..f72885cf223fd 100644 --- a/x-pack/plugins/ml/server/models/job_validation/validate_model_memory_limit.ts +++ b/x-pack/plugins/ml/server/models/job_validation/validate_model_memory_limit.ts @@ -65,7 +65,7 @@ export async function validateModelMemoryLimit( job.data_description.time_field, duration!.start as number, duration!.end as number, - undefined, + true, job.datafeed_config ); // @ts-expect-error