mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-24 23:19:39 -05:00
AB#1898 cli: fix create aws node count
This commit is contained in:
parent
f0dc48e3c7
commit
b30101aba6
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user