Skip to content

Commit

Permalink
Merge pull request #161 from desimone/patch-2
Browse files Browse the repository at this point in the history
helper/ssh: equivalent loop
  • Loading branch information
mitchellh committed Aug 7, 2014
2 parents ffc5d44 + b55ab5d commit 08c1a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/ssh/password.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 08c1a19

Please sign in to comment.