Skip to content

Commit

Permalink
Merge pull request #171 from ArangoGutierrez/devel-v0.6
Browse files Browse the repository at this point in the history
Deprecation of package ioutil
  • Loading branch information
k8s-ci-robot authored Jan 16, 2023
2 parents 41f5a02 + 566be70 commit 080350a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions controllers/nodefeaturediscovery_resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package controllers

import (
"context"
"io/ioutil"
"os"
"path/filepath"
"regexp"
Expand Down Expand Up @@ -80,7 +79,7 @@ func getAssetsFrom(path string) []assetsFromFile {
// For each file in the 'files' list, read the file
// and store its contents in 'manifests'
for _, file := range files {
buffer, err := ioutil.ReadFile(file)
buffer, err := os.ReadFile(file)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 080350a

Please sign in to comment.