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
4b751921de
commit
e88c47edb3
@ -141,7 +141,7 @@ func SendEvent(ctx context.Context, ap netip.AddrPort, event io.Reader, dial net
|
||||
|
||||
req, err := http.NewRequestWithContext(ctx, "POST", fmt.Sprintf("http://%s/v2/event", ap.String()), event)
|
||||
if err != nil {
|
||||
return fmt.Errorf("error creating request: %v", err)
|
||||
return fmt.Errorf("error creating request: %w", err)
|
||||
}
|
||||
|
||||
req.Header.Set("Content-Type", "application/json")
|
||||
|
Loading…
x
Reference in New Issue
Block a user