Skip to content

Commit

Permalink
Rely on logThresholdAlertRuleEnab flag to initialize log alert routs
Browse files Browse the repository at this point in the history
  • Loading branch information
mykolaharmash committed Oct 9, 2023
1 parent fe0b5ed commit 20e7cea
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ export const initGetLogAlertsChartPreviewDataRoute = ({
framework,
getStartServices,
}: Pick<InfraBackendLibs, 'framework' | 'getStartServices'>) => {
// Replace with the corresponding logs alert rule feature flag
if (!framework.config.featureFlags.logsUIEnabled) {
if (!framework.config.featureFlags.logThresholdAlertRuleEnabled) {
return;
}

Expand Down

0 comments on commit 20e7cea

Please sign in to comment.