Skip to content
Snippets Groups Projects
Unverified Commit aed7341b authored by Hidde Beydals's avatar Hidde Beydals Committed by GitHub
Browse files

Merge pull request #2113 from fluxcd/remove-ioutil

parents 75a18b45 8731f003
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ import ( ...@@ -23,7 +23,7 @@ import (
"encoding/base64" "encoding/base64"
"encoding/json" "encoding/json"
"fmt" "fmt"
"io/ioutil" "io"
"strings" "strings"
"github.com/fluxcd/flux2/internal/tree" "github.com/fluxcd/flux2/internal/tree"
...@@ -256,7 +256,7 @@ func getHelmReleaseInventory(ctx context.Context, objectKey client.ObjectKey, ku ...@@ -256,7 +256,7 @@ func getHelmReleaseInventory(ctx context.Context, objectKey client.ObjectKey, ku
return nil, err return nil, err
} }
defer r.Close() defer r.Close()
b2, err := ioutil.ReadAll(r) b2, err := io.ReadAll(r)
if err != nil { if err != nil {
return nil, err return nil, err
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment