Merge pull request #161 from desimone/patch-2

helper/ssh: equivalent loop
This commit is contained in:
Mitchell Hashimoto
2014-08-07 11:15:44 -07:00

View File

@@ -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)
}