diff --git a/probe/ssh/ssh_test.go b/probe/ssh/ssh_test.go index aefcf447..7d107ea6 100644 --- a/probe/ssh/ssh_test.go +++ b/probe/ssh/ssh_test.go @@ -275,7 +275,6 @@ YWwBAg== checkServer(false, "SSHConfig failed") // SSHConfig failed - monkey.UnpatchInstanceMethod(reflect.TypeOf(ed), "SSHConfig") monkey.PatchInstanceMethod(reflect.TypeOf(ed), "SSHConfig", func(e *Endpoint, kind, name string, timeout time.Duration) (*ssh.ClientConfig, error) { return nil, errors.New("SSHConfig failed") })