Skip to content

Commit

Permalink
Pick AppEx SharedUX from #166813 (#167356)
Browse files Browse the repository at this point in the history
## Summary

We're breaking #166813 up into
smaller PRs in the interest of getting PRs through sooner for type
fixes. These are the changes for AppEx SharedUX.
  • Loading branch information
Ikuni17 authored Sep 27, 2023
1 parent 784411d commit e522f0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/shared-ux/markdown/mocks/storybook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class MarkdownStorybookMock extends AbstractStorybookMock<
};
}

getServices() {
getServices(): MarkdownProps {
return { ...this.getProps() };
}
}
3 changes: 1 addition & 2 deletions x-pack/plugins/reporting/server/lib/store/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit e522f0a

Please sign in to comment.