We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12b7668 commit eccb67fCopy full SHA for eccb67f
pkg/operator/configobservation/util.go
@@ -4,7 +4,7 @@ import (
4
"bytes"
5
"encoding/json"
6
"fmt"
7
- "io/ioutil"
+ "io"
8
"strings"
9
10
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
@@ -74,7 +74,7 @@ func ConvertJSON(o interface{}) (interface{}, error) {
74
return nil, err
75
}
76
77
- jsonEncoded, err := ioutil.ReadAll(buf)
+ jsonEncoded, err := io.ReadAll(buf)
78
if err != nil {
79
80
0 commit comments