brigadecore / brigade

Event-driven scripting for Kubernetes
https://brigade.sh/
Apache License 2.0
2.4k stars 247 forks source link

proactively fix upcoming lint errors #1807

Closed krancour closed 2 years ago

krancour commented 2 years ago

Go 1.18 is around the corner and of particular interest to us because it contains supper for generics.

Adopting 1.18 will eventually require us to upgrade golangci-lint.

This PR proactively fixes issue that the forcetypeassert linter will being complaining about after that upgrade.

This PR contains no functional changes and only touches test code.

netlify[bot] commented 2 years ago

✔️ Deploy Preview for brigade-docs ready!

🔨 Explore the source changes: e815211ab4d29e96997af8c61ce22827d9608b0f

🔍 Inspect the deploy log: https://app.netlify.com/sites/brigade-docs/deploys/6202fc3f490f800007b6798b

😎 Browse the preview: https://deploy-preview-1807--brigade-docs.netlify.app