mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Fixing reporting
This commit is contained in:
parent
89af23f64a
commit
b0b3bd2848
1 changed files with 1 additions and 5 deletions
|
@ -21,7 +21,6 @@ const KBN_SCREENSHOT_HEADER_BLACKLIST = [
|
|||
];
|
||||
|
||||
function executeJobFn(server) {
|
||||
const { callWithRequest } = server.plugins.elasticsearch.getCluster('data');
|
||||
const generatePdfObservable = generatePdfObservableFactory(server);
|
||||
const crypto = cryptoFactory(server);
|
||||
const compatibilityShim = compatibilityShimFactory(server);
|
||||
|
@ -41,11 +40,8 @@ function executeJobFn(server) {
|
|||
headers: filteredHeaders,
|
||||
};
|
||||
|
||||
const callEndpoint = (endpoint, clientParams = {}, options = {}) => {
|
||||
return callWithRequest(fakeRequest, endpoint, clientParams, options);
|
||||
};
|
||||
const savedObjectsClient = server.savedObjectsClientFactory({
|
||||
callCluster: callEndpoint
|
||||
request: fakeRequest
|
||||
});
|
||||
const uiSettings = server.uiSettingsServiceFactory({
|
||||
savedObjectsClient
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue