Skip to content

Fix format string mismatches for go1.26 build#516

Open
jingyuanliang wants to merge 1 commit into
GoogleCloudPlatform:masterfrom
jingyuanliang:claude/magical-meitner-o2Hfu
Open

Fix format string mismatches for go1.26 build#516
jingyuanliang wants to merge 1 commit into
GoogleCloudPlatform:masterfrom
jingyuanliang:claude/magical-meitner-o2Hfu

Conversation

@jingyuanliang
Copy link
Copy Markdown
Member

Go 1.26's printf vet check flags %+q applied to map values, which is only valid for strings, runes, integers, and Stringer/error types. Switch the affected test format strings to %+v.

Fixes #515

Go 1.26's printf vet check flags %+q applied to map values, which is
only valid for strings, runes, integers, and Stringer/error types.
Switch the affected test format strings to %+v.

Fixes GoogleCloudPlatform#515
@jingyuanliang
Copy link
Copy Markdown
Member Author

/assign @MrHohn

@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 23, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link
Copy Markdown
Collaborator

@MrHohn MrHohn left a comment

Choose a reason for hiding this comment

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

/lgtm

@google-oss-prow google-oss-prow Bot added the lgtm label May 23, 2026
@google-oss-prow
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jingyuanliang, MrHohn

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [MrHohn,jingyuanliang]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure if we bump to go1.26 in go.mod

3 participants