mirror of https://github.com/pulumi/pulumi.git
1158d4acee
Stop using io/ioutil across the entire repository. The io/ioutil package was deprecated in Go 1.16 (2021-02) with replacements provided in other packages. Specifically: ioutil.Discard => io.Discard ioutil.NopCloser => io.NopCloser ioutil.ReadAll => io.ReadAll ioutil.ReadFile => os.ReadFile ioutil.TempDir => os.MkdirTemp ioutil.TempFile => os.CreateTemp ioutil.WriteFile => os.WriteFile This change switches all of these entities across the repository. Following this change, the only references to ioutil are in schema files: % rg -l ioutil pkg/codegen/testing/test/testdata/aws-4.26.0.json pkg/codegen/testing/test/testdata/aws-4.36.0.json pkg/codegen/testing/test/testdata/aws-4.37.1.json pkg/codegen/testing/test/testdata/aws-5.4.0.json pkg/codegen/testing/test/testdata/aws-5.16.2.json The bulk of this change was generated automatically with manual touch ups afterwards. |
||
---|---|---|
.. | ||
config.go | ||
creds.go | ||
creds_test.go | ||
loaders.go | ||
paths.go | ||
paths_test.go | ||
plugins.go | ||
plugins_install_nodejs_test.go | ||
plugins_install_python_test.go | ||
plugins_install_test.go | ||
plugins_test.go | ||
project.go | ||
project.json | ||
project_test.go | ||
settings.go | ||
templates.go | ||
templates_test.go | ||
workspace.go |