Skip to content

Commit

Permalink
fix(config): correct https-related fields in wizard (#334)
Browse files Browse the repository at this point in the history
Fixes #333
  • Loading branch information
shelepuginivan authored Sep 1, 2024
1 parent 3b803b1 commit a98e754
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func Wizard(app application.App) error {
Validate: pathIsReadableFile,
}
if promptTlsCertString, err := promptTlsCert.Run(); err == nil {
v.Set("tlsCert", util.Expand(promptTlsCertString))
v.Set("tls-cert", util.Expand(promptTlsCertString))
}
// TLS key
promptTlsKey := promptui.Prompt{
Expand All @@ -279,7 +279,7 @@ func Wizard(app application.App) error {
Validate: pathIsReadableFile,
}
if promptTlsKeyString, err := promptTlsKey.Run(); err == nil {
v.Set("tlsKey", util.Expand(promptTlsKeyString))
v.Set("tls-key", util.Expand(promptTlsKeyString))
}
}
validateIsDir := func(input string) error {
Expand Down

0 comments on commit a98e754

Please sign in to comment.