mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-14 01:35:34 -04:00
AB#1898 cli: fix create aws node count
This commit is contained in:
parent
f0dc48e3c7
commit
b30101aba6
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue