mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
vendor update for CSI 0.3.0
This commit is contained in:
5
vendor/k8s.io/kubernetes/pkg/ssh/ssh_test.go
generated
vendored
5
vendor/k8s.io/kubernetes/pkg/ssh/ssh_test.go
generated
vendored
@ -17,6 +17,7 @@ limitations under the License.
|
||||
package ssh
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"io"
|
||||
"net"
|
||||
@ -145,7 +146,7 @@ func TestSSHTunnel(t *testing.T) {
|
||||
t.FailNow()
|
||||
}
|
||||
|
||||
_, err = tunnel.Dial("tcp", "127.0.0.1:8080")
|
||||
_, err = tunnel.Dial(context.Background(), "tcp", "127.0.0.1:8080")
|
||||
if err != nil {
|
||||
t.Errorf("unexpected error: %v", err)
|
||||
}
|
||||
@ -176,7 +177,7 @@ func (*fakeTunnel) Close() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (*fakeTunnel) Dial(network, address string) (net.Conn, error) {
|
||||
func (*fakeTunnel) Dial(ctx context.Context, network, address string) (net.Conn, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user