Skip to content

Commit c7c9041

Browse files
committed
correct dependency from alert service
1 parent f3c2115 commit c7c9041

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

x-pack/plugins/uptime/server/lib/alerts/uptime_alert_wrapper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ export const uptimeAlertWrapper = (uptimeAlert: UptimeAlertType) => ({
2323
producer: 'uptime',
2424
executor: async (options: AlertExecutorOptions) => {
2525
const {
26-
services: { callCluster: callES, esClient },
26+
services: { callCluster: callES, scopedClusterClient },
2727
} = options;
2828

2929
const dynamicSettings = await savedObjectsAdapter.getUptimeDynamicSettings(
3030
options.services.savedObjectsClient
3131
);
3232

33-
return uptimeAlert.executor(options, callES, esClient, dynamicSettings);
33+
return uptimeAlert.executor(options, callES, scopedClusterClient, dynamicSettings);
3434
},
3535
});

0 commit comments

Comments
 (0)