Mark realSSHDialer as implementing sshDialer
This commit is contained in:
@@ -150,6 +150,8 @@ type sshDialer interface {
|
|||||||
// Real implementation of sshDialer
|
// Real implementation of sshDialer
|
||||||
type realSSHDialer struct{}
|
type realSSHDialer struct{}
|
||||||
|
|
||||||
|
var _ sshDialer = &realSSHDialer{}
|
||||||
|
|
||||||
func (d *realSSHDialer) Dial(network, addr string, config *ssh.ClientConfig) (*ssh.Client, error) {
|
func (d *realSSHDialer) Dial(network, addr string, config *ssh.ClientConfig) (*ssh.Client, error) {
|
||||||
return ssh.Dial(network, addr, config)
|
return ssh.Dial(network, addr, config)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user