Skip to content

Commit

Permalink
pipe dat config
Browse files Browse the repository at this point in the history
  • Loading branch information
legrego committed Feb 14, 2020
1 parent 5529529 commit 09cec11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export function getSpacesUsageCollector(
const license = await deps.licensing.license$.pipe(take(1)).toPromise();
const available = license.isAvailable; // some form of spaces is available for all valid licenses

const kibanaIndex = (await deps.kibanaIndexConfig.toPromise()).kibana.index;
const kibanaIndex = (await deps.kibanaIndexConfig.pipe(take(1)).toPromise()).kibana.index;

const usageStats = await getSpacesUsage(callCluster, kibanaIndex, deps.features, available);

Expand Down

0 comments on commit 09cec11

Please sign in to comment.