Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Fix staticcheck and CI #101

Merged
merged 2 commits into from
Mar 17, 2021
Merged

Fix staticcheck and CI #101

merged 2 commits into from
Mar 17, 2021

Conversation

leifmadsen
Copy link
Member

Fix staticcheck issue with golang 1.14 and update CI to use ubi8 as the base image vs centos8.

Since we're using ubi8 now as the base image, it runs golang 1.14 which
deprecates the usage of tlsConfig.NameToCertificate. The suggestion is to
simply remove it from the code base.
@leifmadsen leifmadsen requested review from paramite and pleimer March 16, 2021 23:35
@leifmadsen leifmadsen merged commit 98a1273 into ceilo-metrics-hotfix Mar 17, 2021
@leifmadsen leifmadsen deleted the fixup/staticcheck branch March 17, 2021 13:39
paramite pushed a commit that referenced this pull request Mar 17, 2021
* condition on type assertion

* Fix staticcheck and CI (#101)

* Drop tlsConfig.NameToCertificate as it's deprecated on golang 1.14

Since we're using ubi8 now as the base image, it runs golang 1.14 which
deprecates the usage of tlsConfig.NameToCertificate. The suggestion is to
simply remove it from the code base.

* Use ubi8 vs centos8 for testing

Co-authored-by: Leif Madsen <[email protected]>
pleimer added a commit that referenced this pull request Mar 17, 2021
…retreival hotfix (#100)

* condition on type assertion

* Fix staticcheck and CI (#101)

* Drop tlsConfig.NameToCertificate as it's deprecated on golang 1.14

Since we're using ubi8 now as the base image, it runs golang 1.14 which
deprecates the usage of tlsConfig.NameToCertificate. The suggestion is to
simply remove it from the code base.

* Use ubi8 vs centos8 for testing

Co-authored-by: Leif Madsen <[email protected]>
leifmadsen added a commit that referenced this pull request Mar 17, 2021
…retreival hotfix (#100) (#102)

* condition on type assertion

* Fix staticcheck and CI (#101)

* Drop tlsConfig.NameToCertificate as it's deprecated on golang 1.14

Since we're using ubi8 now as the base image, it runs golang 1.14 which
deprecates the usage of tlsConfig.NameToCertificate. The suggestion is to
simply remove it from the code base.

* Use ubi8 vs centos8 for testing

Co-authored-by: Leif Madsen <[email protected]>

Co-authored-by: Leif Madsen <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants