Closed
Description
/kind bug
/area library
Trying to consume the devfile library with Go 1.21 reports the following errors:
github.com/devfile/library/v2/pkg/devfile/generator
/home/admin/go1.21/gopath/pkg/mod/github.com/devfile/library/v2@v2.2.1-0.20230418160146-e75481b7eebd/pkg/devfile/generator/utils.go:600:14: cannot use corev1.ResourceRequirements{…} (value of type "k8s.io/api/core/v1".ResourceRequirements) as "k8s.io/api/core/v1".VolumeResourceRequirements value in struct literal
It seems that some of its dependencies need to be updated to a version that supports Go 1.21. We should also ensure that there's nothing else in the library that's blocking it from working on 1.21.
Metadata
Metadata
Assignees
Type
Projects
Status
Done ✅