mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 15:47:14 +01:00
hack: use go 1.17 for verifying codegen
The hack/verify-codegen.sh script was using an image that included go 1.16. However, the updated k8s.io/json module calls the `(reflect.StructField) IsExported` function, which is new in go 1.17. Consequently, the script needs to be updated to use an image that include go 1.17 rather than 1.16.
This commit is contained in:
@@ -10,6 +10,6 @@ else
|
||||
--env IS_CONTAINER=TRUE \
|
||||
--volume "${PWD}:/go/src/github.com/openshift/installer:z" \
|
||||
--workdir /go/src/github.com/openshift/installer \
|
||||
docker.io/openshift/origin-release:golang-1.16 \
|
||||
docker.io/golang:1.17 \
|
||||
./hack/verify-codegen.sh "${@}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user