Skip to content

Commit

Permalink
[ML] Changing wording of awaiting ML nodes messages (#167306)
Browse files Browse the repository at this point in the history
Updates the text for the info callouts which are displayed when anomaly
detection jobs are waiting for a node.

@szabosteve would you mind having a review of the text?

**Jobs list**

![image](https://github.com/elastic/kibana/assets/22172091/2f5e9293-7834-483f-9898-e797150963f8)



**Creating a new job**

![image](https://github.com/elastic/kibana/assets/22172091/dcf594e4-67a1-4b96-95d7-bc832b77b1af)

Fixes #165472

---------

Co-authored-by: István Zoltán Szabó <[email protected]>
  • Loading branch information
jgowdyelastic and szabosteve authored Sep 27, 2023
1 parent b2271a9 commit 55a86ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const JobsAwaitingNodeWarning: FC<Props> = ({ jobCount }) => {
<div>
<FormattedMessage
id="xpack.ml.jobsAwaitingNodeWarning.noMLNodesAvailableDescription"
defaultMessage="There {jobCount, plural, one {is} other {are}} {jobCount, plural, one {# job} other {# jobs}} waiting for machine learning nodes to start."
defaultMessage="{jobCount, plural, one {# job} other {# jobs}} will start after autoscaling has increased ML capacity. This may take several minutes."
values={{
jobCount,
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const NewJobAwaitingNodeWarning: FC<Props> = () => {
<div>
<FormattedMessage
id="xpack.ml.newJobAwaitingNodeWarning.noMLNodesAvailableDescription"
defaultMessage="There are currently no nodes that can run the job, therefore it will remain in OPENING state until an appropriate node becomes available."
defaultMessage="There are currently no nodes that can run the job, therefore it will remain in OPENING state until autoscaling increases ML capacity. This may take several minutes."
/>
</div>
</EuiCallOut>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const MLJobsAwaitingNodeWarning: FC<Props> = ({ jobIds }) => {
<div>
<FormattedMessage
id="xpack.ml.jobsAwaitingNodeWarningShared.noMLNodesAvailableDescription"
defaultMessage="There {jobCount, plural, one {is} other {are}} {jobCount, plural, one {# job} other {# jobs}} waiting for machine learning nodes to start."
defaultMessage="{jobCount, plural, one {# job} other {# jobs}} will start after autoscaling has increased ML capacity. This may take several minutes."
values={{
jobCount: unassignedJobCount,
}}
Expand Down

0 comments on commit 55a86ba

Please sign in to comment.