mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
## Summary We're breaking https://github.com/elastic/kibana/pull/166813 up into smaller PRs in the interest of getting PRs through sooner for type fixes. These are the changes for AppEx SharedUX.
This commit is contained in:
parent
784411d45d
commit
e522f0a178
2 changed files with 2 additions and 3 deletions
|
@ -82,7 +82,7 @@ export class MarkdownStorybookMock extends AbstractStorybookMock<
|
|||
};
|
||||
}
|
||||
|
||||
getServices() {
|
||||
getServices(): MarkdownProps {
|
||||
return { ...this.getProps() };
|
||||
}
|
||||
}
|
||||
|
|
|
@ -86,7 +86,6 @@ export class ReportingStore {
|
|||
private readonly indexPrefix: string; // config setting of index prefix in system index name
|
||||
private readonly indexInterval: string; // config setting of index prefix: how often to poll for pending work
|
||||
private client?: ElasticsearchClient;
|
||||
private ilmPolicyManager?: IlmPolicyManager;
|
||||
config: ReportingCore['config'];
|
||||
|
||||
constructor(private reportingCore: ReportingCore, private logger: Logger) {
|
||||
|
@ -107,7 +106,7 @@ export class ReportingStore {
|
|||
|
||||
private async getIlmPolicyManager() {
|
||||
const client = await this.getClient();
|
||||
return (this.ilmPolicyManager = IlmPolicyManager.create({ client }));
|
||||
return IlmPolicyManager.create({ client });
|
||||
}
|
||||
|
||||
private async createIndex(indexName: string) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue