Skip to content

[8.0] [Upgrade assistant] Fix the "Fix" button for ML snapshots in need of upgrade (#119745)#119850

Merged
kibanamachine merged 1 commit intoelastic:8.0from
kibanamachine:backport/8.0/pr-119745
Nov 29, 2021
Merged

[8.0] [Upgrade assistant] Fix the "Fix" button for ML snapshots in need of upgrade (#119745)#119850
kibanamachine merged 1 commit intoelastic:8.0from
kibanamachine:backport/8.0/pr-119745

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backports the following commits to 8.0:

…upgrade (elastic#119745)

The deprecations for ML snapshots that are too old and need
upgrading are supposed to have a "Fix" button next to them.
Unfortunately this disappeared when a message was reworded
in elastic/elasticsearch#79387.

This change adjusts the regex that the upgrade assistant
uses to detect which deprecations to add the "Fix" button
to so that it will match both "Model snapshot" and "model
snapshot". The test data is also updated to match the new
backend text.

This change is designed to work with elastic/elasticsearch#81060.
@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @droberts195

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants