mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-25 01:00:59 -04:00
Merge pull request #161 from desimone/patch-2
helper/ssh: equivalent loop
This commit is contained in:
@@ -18,7 +18,7 @@ func PasswordKeyboardInteractive(password string) ssh.KeyboardInteractiveChallen
|
||||
|
||||
// Just send the password back for all questions
|
||||
answers := make([]string, len(questions))
|
||||
for i, _ := range answers {
|
||||
for i := range answers {
|
||||
answers[i] = string(password)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user