cli: fix coordinator/node count order

This commit is contained in:
Thomas Tendyck 2022-04-06 14:01:32 +02:00 committed by Thomas Tendyck
parent 8b7bafb482
commit 393c1f7dd1
3 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,7 @@ func newCreateAWSCmd() *cobra.Command {
// runCreateAWS runs the create command.
func runCreateAWS(cmd *cobra.Command, args []string) error {
count, _ := strconv.Atoi(args[0]) // err already checked in args validation
count, _ := strconv.Atoi(args[1]) // err already checked in args validation
size := strings.ToLower(args[2])
name, err := cmd.Flags().GetString("name")