Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit 926e9b4

Browse files
author
Chris Wiechmann
committed
Update actions.js
1 parent 9864034 commit 926e9b4

File tree

1 file changed

+1
-1
lines changed
  • apibuilder4elastic/custom_flow_nodes/api-builder-plugin-elk-solution-utils/src

1 file changed

+1
-1
lines changed

apibuilder4elastic/custom_flow_nodes/api-builder-plugin-elk-solution-utils/src/actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ async function setupILMRententionPeriod(params, options) {
299299
if(maxPrimaryShardSize<5) {
300300
throw new Error(`The given max_primary_shard_size: ${maxPrimaryShardSize} for index: ${indexName} is too small. Please configure at least 5GB.`);
301301
}
302-
ilmConfig.policy.phases.hot.actions.rollover.max_primary_shard_size = `${maxSize}gb`;
302+
ilmConfig.policy.phases.hot.actions.rollover.max_primary_shard_size = `${maxPrimaryShardSize}gb`;
303303
}
304304

305305
}

0 commit comments

Comments
 (0)