Skip to content

Commit

Permalink
as of Go1.16 CertPools can't be compared
Browse files Browse the repository at this point in the history
for right now we are only comparing the Subject until the issue is
resolved

Context: golang/go#46057
  • Loading branch information
Amin Jamali committed May 12, 2021
1 parent 3baf789 commit f0a2d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/http_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ var _ = Describe("NewHTTPSClient", func() {

caPool := httpTrans.TLSClientConfig.RootCAs

Expect(expectedPool).To(Equal(caPool))
Expect(expectedPool.Subjects()).To(Equal(caPool.Subjects()))
})

Context("when an invalid tls cert is provided", func() {
Expand Down

0 comments on commit f0a2d8d

Please sign in to comment.