Skip to content

Commit

Permalink
adding mml value to message
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed May 7, 2020
1 parent dc16a0a commit 28337f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/plugins/ml/server/models/job_validation/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,8 @@ export const getMessages = () => {
status: 'WARNING',
text: i18n.translate('xpack.ml.models.jobValidation.messages.mmlGreaterThanMaxMmlMessage', {
defaultMessage:
'Job will not be able to run in the current cluster because model memory limit is higher than the amount of available memory.',
'Job will not be able to run in the current cluster because model memory limit is higher than {effectiveMaxModelMemoryLimit}.',
values: { effectiveMaxModelMemoryLimit: '{{effectiveMaxModelMemoryLimit}}' },
}),
},
mml_greater_than_max_mml: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export async function validateModelMemoryLimit(
id: 'mml_greater_than_effective_max_mml',
maxModelMemoryLimit,
mml,
effectiveMaxModelMemoryLimit,
});
}
}
Expand Down

0 comments on commit 28337f8

Please sign in to comment.