Skip to content
This repository was archived by the owner on Oct 23, 2025. It is now read-only.

Commit 60d75da

Browse files
v-stepanovjmcs
authored andcommitted
Fix type of batch_size_percentage option. (#551)
Fixes #550
1 parent c429e24 commit 60d75da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

senza/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1931,6 +1931,7 @@ def patch_spotinst_elastigroup(properties, elastigroup_id, region, stack_name):
19311931
@click.option(
19321932
"--batch_size_percentage",
19331933
metavar="PERCENTAGE",
1934+
type=click.IntRange(0, 100, clamp=True),
19341935
help="Percentage (int value) of the ElastiGroup cluster that is respawned in each step."
19351936
" Valid only for ElastiGroups. The default value for this of 20.",
19361937
)

0 commit comments

Comments
 (0)