fix(slo): Add missing new context providers around burn rate editor (#201199)

This commit is contained in:
Kevin Delemme 2024-11-21 11:12:10 -05:00 committed by GitHub
parent f9287a9545
commit 324ecc2c37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,