mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-02 16:18:50 +00:00
chore: remove deprecated io/ioutil
Signed-off-by: Dmitry Rybin <ayrowa@yandex.ru>
This commit is contained in:
parent
d40685ab62
commit
7f425efa6b
18 changed files with 30 additions and 45 deletions
|
|
@ -17,7 +17,6 @@ limitations under the License.
|
|||
package kustomization
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
|
|
@ -113,7 +112,7 @@ func Generate(options Options) (*manifestgen.Manifest, error) {
|
|||
}, nil
|
||||
}
|
||||
|
||||
kd, err := ioutil.ReadFile(abskfile)
|
||||
kd, err := os.ReadFile(abskfile)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue