mirror of
https://github.com/tailscale/tailscale.git
synced 2025-09-20 21:21:23 +02:00
Update sessionrecording/connect.go
Co-authored-by: David Bond <davidsbond@users.noreply.github.com> Signed-off-by: Tom Meadows <tom@tmlabs.co.uk>
This commit is contained in:
parent
e88c47edb3
commit
d2ac6c437e
@ -136,7 +136,7 @@ func SendEvent(ctx context.Context, ap netip.AddrPort, event io.Reader, dial net
|
||||
client := clientHTTP2(ctx, dial)
|
||||
|
||||
if !supportsEvent(ctx, client, ap) {
|
||||
return fmt.Errorf("recorder at address %q does not support `/v2/event` endpoint", ap.String())
|
||||
return fmt.Errorf(`recorder at address %q does not support "/v2/event" endpoint`, ap.String())
|
||||
}
|
||||
|
||||
req, err := http.NewRequestWithContext(ctx, "POST", fmt.Sprintf("http://%s/v2/event", ap.String()), event)
|
||||
|
Loading…
x
Reference in New Issue
Block a user