Skip to content

Commit

Permalink
Replace uses of Terraform with product name in prompt for getting ver…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
MatthewJohn committed May 27, 2024
1 parent a10eed5 commit 98406a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,13 +305,13 @@ func InstallProductOption(product Product, listAll, dryRun bool, customBinaryPat
}

if len(selectVersions) == 0 {
logger.Fatalf("Terraform version list is empty: %s", mirrorURL)
logger.Fatalf("%s version list is empty: %s", product.GetName(), mirrorURL)
os.Exit(1)
}

/* prompt user to select version of terraform */
prompt := promptui.Select{
Label: "Select Terraform version",
Label: fmt.Sprintf("Select %s version", product.GetName()),
Items: selectVersions,
Templates: &promptui.SelectTemplates{
// Use templates from defaults in promptui, but specifying
Expand Down

0 comments on commit 98406a5

Please sign in to comment.