opendevstack / ods-pipeline

Alternative ODS CI/CD pipeline based on Tekton / OpenShift Pipelines
Apache License 2.0
13 stars 5 forks source link

Remove usage of io/ioutil package #600

Closed michaelsauter closed 2 years ago

michaelsauter commented 2 years ago

As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code.

See https://pkg.go.dev/io/ioutil.

golangci-lint complains about io/ioutil usage (e.g. see https://github.com/opendevstack/ods-pipeline/actions/runs/2978230758), even though I cannot replicate the issue locally, even though it looks like the same version and configuration is used.

Tasks: