Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nil time assertions for go 1.17 #726

Merged
merged 1 commit into from
Oct 13, 2021
Merged

Conversation

benmoss
Copy link
Contributor

@benmoss benmoss commented Oct 13, 2021

https://pkg.go.dev/time#Time.GoString added in Go 1.17 means this error string will be different depending on which version we are on.

/assign @n3wscott @embano1

Fixes #721

https://pkg.go.dev/time#Time.GoString added in Go 1.17 means this error
string will be different depending on which version we are on.

Signed-off-by: Ben Moss <benm@vmware.com>
@embano1
Copy link
Member

embano1 commented Oct 13, 2021

Do you want to file the CI patch in a separate PR?

@n3wscott n3wscott merged commit 7fe4b6a into cloudevents:main Oct 13, 2021
@benmoss benmoss deleted the nil-times branch October 13, 2021 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

go test fails in TestTime
3 participants