Merge pull request #2113 from fluxcd/remove-ioutil

pull/2121/head
Hidde Beydals 3 years ago committed by GitHub
commit aed7341b34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,7 +23,7 @@ import (
"encoding/base64"
"encoding/json"
"fmt"
"io/ioutil"
"io"
"strings"
"github.com/fluxcd/flux2/internal/tree"
@ -256,7 +256,7 @@ func getHelmReleaseInventory(ctx context.Context, objectKey client.ObjectKey, ku
return nil, err
}
defer r.Close()
b2, err := ioutil.ReadAll(r)
b2, err := io.ReadAll(r)
if err != nil {
return nil, err
}

Loading…
Cancel
Save