Skip to content

Commit c8ac2d2

Browse files
committed
Pick AppEx SharedUX from #166813
1 parent 22029b5 commit c8ac2d2

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

packages/shared-ux/markdown/mocks/storybook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export class MarkdownStorybookMock extends AbstractStorybookMock<
8282
};
8383
}
8484

85-
getServices() {
85+
getServices(): MarkdownProps {
8686
return { ...this.getProps() };
8787
}
8888
}

x-pack/plugins/reporting/server/lib/store/store.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ export class ReportingStore {
8686
private readonly indexPrefix: string; // config setting of index prefix in system index name
8787
private readonly indexInterval: string; // config setting of index prefix: how often to poll for pending work
8888
private client?: ElasticsearchClient;
89-
private ilmPolicyManager?: IlmPolicyManager;
9089
config: ReportingCore['config'];
9190

9291
constructor(private reportingCore: ReportingCore, private logger: Logger) {
@@ -107,7 +106,7 @@ export class ReportingStore {
107106

108107
private async getIlmPolicyManager() {
109108
const client = await this.getClient();
110-
return (this.ilmPolicyManager = IlmPolicyManager.create({ client }));
109+
return IlmPolicyManager.create({ client });
111110
}
112111

113112
private async createIndex(indexName: string) {

0 commit comments

Comments
 (0)