File tree Expand file tree Collapse file tree
packages/shared-ux/markdown/mocks
x-pack/plugins/reporting/server/lib/store Expand file tree Collapse file tree Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments