delete unnecessary conversion
This commit is contained in:
parent
e2df4a80f8
commit
92c36eea8c
|
@ -20,7 +20,7 @@ func KeyboardInteractive() ssh.KeyboardInteractiveChallenge {
|
||||||
}
|
}
|
||||||
answers := make([]string, len(questions))
|
answers := make([]string, len(questions))
|
||||||
for i := range questions {
|
for i := range questions {
|
||||||
s, err := terminal.ReadPassword(int(syscall.Stdin))
|
s, err := terminal.ReadPassword(syscall.Stdin)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue