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:
Tom Meadows 2025-09-19 15:49:40 +01:00 committed by GitHub
parent e88c47edb3
commit d2ac6c437e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)