Skip to content

Commit

Permalink
[8.x] fix(slo): Add missing new context providers around burn rate ed…
Browse files Browse the repository at this point in the history
…itor (#201199) (#201233)

# Backport

This will backport the following commits from `main` to `8.x`:
- [fix(slo): Add missing new context providers around burn rate editor
(#201199)](#201199)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Kevin
Delemme","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-21T16:12:10Z","message":"fix(slo):
Add missing new context providers around burn rate editor
(#201199)","sha":"324ecc2c37e59f55643bd5685bb1db08be4a4fb9","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management","v8.17.0"],"title":"fix(slo):
Add missing new context providers around burn rate
editor","number":201199,"url":"https://github.com/elastic/kibana/pull/201199","mergeCommit":{"message":"fix(slo):
Add missing new context providers around burn rate editor
(#201199)","sha":"324ecc2c37e59f55643bd5685bb1db08be4a4fb9"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201199","number":201199,"mergeCommit":{"message":"fix(slo):
Add missing new context providers around burn rate editor
(#201199)","sha":"324ecc2c37e59f55643bd5685bb1db08be4a4fb9"}},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Kevin Delemme <[email protected]>
  • Loading branch information
kibanamachine and kdelemme authored Nov 21, 2024
1 parent bf7e73f commit 7e258c1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ export const registerBurnRateRuleType = (
documentationUrl(docLinks) {
return `${docLinks.links.observability.sloBurnRateRule}`;
},
ruleParamsExpression: lazy(() => import('../components/burn_rate_rule_editor')),
ruleParamsExpression: lazyWithContextProviders(
lazy(() => import('../components/burn_rate_rule_editor'))
),
validate: validateBurnRateRule,
requiresAppContext: false,
defaultActionMessage: sloBurnRateDefaultActionMessage,
Expand Down

0 comments on commit 7e258c1

Please sign in to comment.