From 92c36eea8cb7befc07ec5bfd3a5a115e57d4defd Mon Sep 17 00:00:00 2001 From: r_takaishi Date: Fri, 6 Mar 2020 14:22:08 +0900 Subject: [PATCH] delete unnecessary conversion --- communicator/ssh/keyboard_interactive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/communicator/ssh/keyboard_interactive.go b/communicator/ssh/keyboard_interactive.go index 5cf84acb2..1df616fff 100644 --- a/communicator/ssh/keyboard_interactive.go +++ b/communicator/ssh/keyboard_interactive.go @@ -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 }