mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
Mark realSSHDialer as implementing sshDialer
This commit is contained in:
parent
efdd03a6a9
commit
c5f9085398
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user