1
0
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:
staebler
2021-12-17 17:01:36 -05:00
parent af4738abfd
commit ce3169772c

View File

@@ -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