Skip to content

Conversation

elevran
Copy link
Contributor

@elevran elevran commented Jul 28, 2025

Since Plugin returns a TypedName by value the String() method with pointer receiver was not called.
Go happily calls the value receiver based methods for pointers as well.
This was causing logs to print {<type> <name>} (default string representation) instead of the expected output of String() (<name>/<type>).

Since Plugin returns a TypedName by value the String method with pointer receiver was not called.
Go happily calls the value reciver based methods for pointers as well.

Signed-off-by: Etai Lev Ran <[email protected]>
Copy link

netlify bot commented Jul 28, 2025

Deploy Preview for gateway-api-inference-extension ready!

Name Link
🔨 Latest commit 8a03d1a
🔍 Latest deploy log https://app.netlify.com/projects/gateway-api-inference-extension/deploys/68874c57a102280008d14684
😎 Deploy Preview https://deploy-preview-1239--gateway-api-inference-extension.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 28, 2025
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 28, 2025
@nirrozenbaum
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 28, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: elevran, nirrozenbaum

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

The pull request process is described here

Needs approval from an approver in each of these files:

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 28, 2025
@k8s-ci-robot k8s-ci-robot merged commit d849810 into kubernetes-sigs:main Jul 28, 2025
8 of 9 checks passed
kfswain pushed a commit to kfswain/llm-instance-gateway that referenced this pull request Jul 31, 2025
Since Plugin returns a TypedName by value the String method with pointer receiver was not called.
Go happily calls the value reciver based methods for pointers as well.

Signed-off-by: Etai Lev Ran <[email protected]>
@elevran elevran deleted the typedname_value_receiver branch August 12, 2025 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants