mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-25 09:14:01 -04:00
delete unnecessary conversion
This commit is contained in:
@@ -20,7 +20,7 @@ func KeyboardInteractive() ssh.KeyboardInteractiveChallenge {
|
||||
}
|
||||
answers := make([]string, len(questions))
|
||||
for i := range questions {
|
||||
s, err := terminal.ReadPassword(int(syscall.Stdin))
|
||||
s, err := terminal.ReadPassword(syscall.Stdin)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user