Closed echlebek closed 8 months ago
The committers listed above are authorized under a signed CLA.
Thank you for the PR @echlebek Please sign the CLA.
@tigrannajaryan Thanks for taking a look, I've signed the CLA.
Attention: Patch coverage is 85.71429%
with 2 lines
in your changes are missing coverage. Please review.
Project coverage is 73.74%. Comparing base (
ce8a8dd
) to head (f6cc5df
).
Files | Patch % | Lines |
---|---|---|
client/wsclient.go | 85.71% | 1 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Coverage is now improved, with only one line missing coverage from the method. It would require a TLS server in test to cover it. Let me know if you think it's worthwhile. Thanks!
Thank you @echlebek !
This commit allows the opamp client to follow redirects after websocket handshake failures. Redirect following is not implemented by gorilla/websocket, but can be handled by inspecting the returned response object for 3xx status and Location header.
Closes #250