AB#1898 cli: fix create aws node count

This commit is contained in:
Thomas Tendyck 2022-04-07 13:50:09 +02:00 committed by Thomas Tendyck
parent f0dc48e3c7
commit b30101aba6

View File

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