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. |
||
---|---|---|
.. | ||
binder.go | ||
binder_nodes.go | ||
binder_resource.go | ||
binder_schema.go | ||
binder_schema_test.go | ||
binder_test.go | ||
component.go | ||
config.go | ||
diagnostics.go | ||
functions.go | ||
intrinsics.go | ||
invoke.go | ||
local.go | ||
output.go | ||
program.go | ||
resource.go | ||
rewrite_apply.go | ||
rewrite_apply_test.go | ||
rewrite_convert.go | ||
rewrite_convert_test.go | ||
rewrite_properties.go | ||
type.go | ||
utilities.go |