Skip to content

Fix building on Go >= 1.27 - #230

Merged
basvanbeek merged 1 commit into
openzipkin:masterfrom
rweir:master
Nov 9, 2026
Merged

basvanbeek merged 1 commit into
openzipkin:masterfrom
rweir:master

Conversation

@rweir

@rweir rweir commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Go 1.27's jsonv2 migration seems to have changed the text of these error messages; simply check the type rather than the text instead.

errors.Is was added in go 1.13 so this doesn't affect the package's stated go 1.20+ compatibility.

Go 1.27's jsonv2 migration seems to have changed the text of these
error messages; simply check the type rather than the text instead.
@rweir rweir mentioned this pull request Nov 5, 2026

@basvanbeek basvanbeek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Looks good to me.

@basvanbeek
basvanbeek merged commit fe4c8f2 into openzipkin:master Nov 9, 2026
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.

2 participants