mirror of https://github.com/pulumi/pulumi.git
2957b6b1b3
11806: all: Drop ioutil r=abhinav a=abhinav 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. Specifically, the template and the template input had to be updated manually. Co-authored-by: Abhinav Gupta <abhinav@pulumi.com> |
||
---|---|---|
.. | ||
client | ||
testdata | ||
backend.go | ||
backend_test.go | ||
console.go | ||
console_test.go | ||
diffs.go | ||
doc.go | ||
policypack.go | ||
snapshot.go | ||
snapshot_test.go | ||
stack.go | ||
state.go | ||
token_source.go | ||
token_source_test.go |