AB#1898 cli: fix create aws arg validation

This commit is contained in:
Thomas Tendyck 2022-04-07 10:56:32 +02:00 committed by Thomas Tendyck
parent 393c1f7dd1
commit f0dc48e3c7
2 changed files with 1 additions and 2 deletions

View file

@ -24,7 +24,7 @@ func newCreateAWSCmd() *cobra.Command {
Args: cobra.MatchAll(
cobra.ExactArgs(3),
isValidAWSCoordinatorCount(0),
isIntGreaterArg(1, 1),
isIntGreaterZeroArg(1),
isEC2InstanceType(2),
),
ValidArgsFunction: createAWSCompletion,