Skip to content

Updating Karpenter version to v0.10.0 affecting repo #301

@smahendarkar

Description

@smahendarkar

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions