mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
internal/modsdir: deprecate io/ioutil (#353)
Signed-off-by: jay-dee7 <me@jsdp.dev>
This commit is contained in:
parent
e5a617e450
commit
902c1c00dc
@ -7,7 +7,6 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"os"
|
||||
"path/filepath"
|
||||
@ -71,7 +70,7 @@ type manifestSnapshotFile struct {
|
||||
}
|
||||
|
||||
func ReadManifestSnapshot(r io.Reader) (Manifest, error) {
|
||||
src, err := ioutil.ReadAll(r)
|
||||
src, err := io.ReadAll(r)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user