generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Running make dev or make apply command cannot build the repo with following error
88665a4364f7:substrate sushima$ make dev
controller-gen \
object:headerFile="hack/boilerplate.go.txt" \
paths="./pkg/..."
hack/boilerplate.sh
go mod tidy
go mod download
go vet ./...
go fmt ./...
golangci-lint run
pkg/controller/substrate/cluster/config.go:30:2: SA1019: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
"io/ioutil"
^
pkg/utils/kubectl/apply.go:24:2: SA1019: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
"io/ioutil"
^
pkg/utils/kubectl/client.go:19:2: SA1019: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
"io/ioutil"
^
make: *** [verify] Error 1
Metadata
Metadata
Assignees
Labels
No labels