mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 21:12:07 +00:00
remove todo in pkg/ssh
This commit is contained in:
parent
0d1007f84b
commit
cb218ce620
@ -383,7 +383,6 @@ func (l *SSHTunnelList) pickTunnel(addr string) (tunnel, error) {
|
||||
return nil, fmt.Errorf("No SSH tunnels currently open. Were the targets able to accept an ssh-key for user %q?", l.user)
|
||||
}
|
||||
// Prefer same tunnel as kubelet
|
||||
// TODO: Change l.entries to a map of address->tunnel
|
||||
for _, entry := range l.entries {
|
||||
if entry.Address == addr {
|
||||
return entry.Tunnel, nil
|
||||
|
Loading…
Reference in New Issue
Block a user