Skip to content

Commit

Permalink
fix add default value for loadSSHKeysOfCurrentUser qa problem
Browse files Browse the repository at this point in the history
Signed-off-by: gabriel-farache <gfarache@redhat.com>
  • Loading branch information
gabriel-farache committed Nov 28, 2023
1 parent d05661f commit d2bb46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/sshkeys/sshkeys.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func loadSSHKeysOfCurrentUser() {
message := `The CI/CD pipeline needs access to the git repos in order to clone, build and push.
If any of the repos require ssh keys you will need to provide them.
Select an option:`
selectedOption := qaengine.FetchSelectAnswer(common.ConfigRepoLoadPrivKey, message, nil, "", options, nil)
selectedOption := qaengine.FetchSelectAnswer(common.ConfigRepoLoadPrivKey, message, nil, options[2], options, nil)
switch selectedOption {
case options[0]:
selectedKeyFilenames, err := loadKeysFromDirectory(privateKeyDir)
Expand Down

0 comments on commit d2bb46a

Please sign in to comment.