Skip to content
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

config: ignore deprecated warning in tests #389

Merged
merged 1 commit into from Jul 11, 2022

Conversation

simonpasquier
Copy link
Member

(*CertPool).Subjects is deprecated in Go 1.18 because it may not include
the system certs but it isn't a problem for the tests because we're not
loading the system certs.

Follow-up to #388 which we would need to upgrade to the latest golangci-lint version.

(*CertPool).Subjects is deprecated in Go 1.18 because it may not include
the system certs but it isn't a problem for the tests because we're not
loading the system certs.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
@roidelapluie roidelapluie merged commit c5e1b60 into prometheus:main Jul 11, 2022
@roidelapluie
Copy link
Member

Thanks!

@simonpasquier simonpasquier deleted the fix-lint-go-1.18 branch July 13, 2022 15:54
radek-ryckowski pushed a commit to goldmansachs/common that referenced this pull request May 18, 2023
(*CertPool).Subjects is deprecated in Go 1.18 because it may not include
the system certs but it isn't a problem for the tests because we're not
loading the system certs.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
radek-ryckowski pushed a commit to goldmansachs/common that referenced this pull request May 22, 2023
(*CertPool).Subjects is deprecated in Go 1.18 because it may not include
the system certs but it isn't a problem for the tests because we're not
loading the system certs.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants