mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-12 07:59:29 -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.
|
// runCreateAWS runs the create command.
|
||||||
func runCreateAWS(cmd *cobra.Command, args []string) error {
|
func runCreateAWS(cmd *cobra.Command, args []string) error {
|
||||||
count, _ := strconv.Atoi(args[1]) // err already checked in args validation
|
count, _ := strconv.Atoi(args[1]) // err already checked in args validation
|
||||||
|
count++ // single coordinator
|
||||||
size := strings.ToLower(args[2])
|
size := strings.ToLower(args[2])
|
||||||
|
|
||||||
name, err := cmd.Flags().GetString("name")
|
name, err := cmd.Flags().GetString("name")
|
||||||
|
Loading…
Reference in New Issue
Block a user