Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add staticcheck github action, resolve existing lint #254
Add staticcheck github action, resolve existing lint #254
Changes from 15 commits
9ac3b9b
01cbbdd
d5409e2
9080e27
3e64c86
8023ecb
565dc96
51377b7
7d7fb6e
149f558
9bf7153
eb0e05d
8f8ed5b
ff5b622
a4f31cc
5b987ff
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 118 in client/internal/mockserver.go
Codecov / codecov/patch
client/internal/mockserver.go#L117-L118
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reading the deprecation notice this seems to be fine, but I am not entirely sure since the notice is a bit vague.
Are you able to verify that the example server that uses this functionality still works fine? The clients should be able to connect if everything is working correctly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I can add a test with a TLS server.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thoughts on using #202?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah #202 will need to be updated, it has conflicts. I don't think you need to add a test as part of this particular PR. If you can confirm by running the examples manually that they still work we should be good and can merge this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make run-examples
should build and run the example server and agent and if you go to http://localhost:4321/ you should be able to see a connected agent.Click on it, scroll down and ensure you see it connected using a client certificate, e.g.:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified that the client certificate is shown on this page. Thanks for the instructions!
Check warning on line 87 in internal/certs.go
Codecov / codecov/patch
internal/certs.go#L87
Check warning on line 92 in internal/certs.go
Codecov / codecov/patch
internal/certs.go#L92