Skip to content

Commit

Permalink
Rollup index pattern error: must match one rollup index
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwizp committed Feb 4, 2020
1 parent 79ecc40 commit 07e9081
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export class RollupIndexPatternCreationConfig extends IndexPatternCreationConfig
this.rollupJobs = [];
this.rollupIndicesCapabilities = {};
this.rollupIndices = [];
this.settingUp = this.setRollupIndices();
}

async setRollupIndices() {
Expand All @@ -77,7 +76,7 @@ export class RollupIndexPatternCreationConfig extends IndexPatternCreationConfig
}

async getIndexPatternCreationOption(urlHandler) {
await this.settingUp;
await this.setRollupIndices();
return this.rollupIndices && this.rollupIndices.length
? {
text: rollupIndexPatternButtonText,
Expand Down

0 comments on commit 07e9081

Please sign in to comment.