Skip to content

Fixed targetPorts copy error#2092

Merged
k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
capri-xiyue:capri-xiyue/fix-regression-standalone-mode
Jan 7, 2026
Merged

Fixed targetPorts copy error#2092
k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
capri-xiyue:capri-xiyue/fix-regression-standalone-mode

Conversation

@capri-xiyue
Copy link
Copy Markdown
Contributor

@capri-xiyue capri-xiyue commented Jan 7, 2026

What type of PR is this?

/kind bug

What this PR does / why we need it:
The error copy brought regression failure to epp standalone mode.
https://pkg.go.dev/builtin#copy Copy returns the number of elements copied, which will be the minimum of len(src) and len(dst) however in original code the dst is initialized to len 0, therefore no elements got copied and brought the bug.
Which issue(s) this PR fixes:

Fixed the regression failure of EPP standalone mode

Does this PR introduce a user-facing change?:

None

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jan 7, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Jan 7, 2026

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

Name Link
🔨 Latest commit ef07aff
🔍 Latest deploy log https://app.netlify.com/projects/gateway-api-inference-extension/deploys/695eaa83e790b80009bc4bb4
😎 Deploy Preview https://deploy-preview-2092--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 Jan 7, 2026
@k8s-ci-robot k8s-ci-robot requested review from ahg-g and robscott January 7, 2026 18:48
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 7, 2026
@capri-xiyue
Copy link
Copy Markdown
Contributor Author

capri-xiyue commented Jan 7, 2026

Thanks for @LukeAVanDrie for finding the root cause of regression failure of EPP standalone mode!

@capri-xiyue
Copy link
Copy Markdown
Contributor Author

/assign @kfswain

Copy link
Copy Markdown
Contributor

@nirrozenbaum nirrozenbaum left a comment

Choose a reason for hiding this comment

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

/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 Jan 7, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: capri-xiyue, nirrozenbaum

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:

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 Jan 7, 2026
@kfswain kfswain added this to the v1.3 milestone Jan 7, 2026
@kfswain
Copy link
Copy Markdown
Collaborator

kfswain commented Jan 7, 2026

Thanks for the fix!

@capri-xiyue capri-xiyue changed the title Fixed taggetPorts copy error Fixed targetPorts copy error Jan 7, 2026
@k8s-ci-robot k8s-ci-robot merged commit 5b1f2ab into kubernetes-sigs:main Jan 7, 2026
21 checks passed
@kfswain
Copy link
Copy Markdown
Collaborator

kfswain commented Jan 7, 2026

/cherrypick release-1.3

@k8s-infra-cherrypick-robot
Copy link
Copy Markdown

@kfswain: new pull request created: #2093

Details

In response to this:

/cherrypick release-1.3

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@kfswain
Copy link
Copy Markdown
Collaborator

kfswain commented Jan 8, 2026

/cherrypick release-1.3

@k8s-infra-cherrypick-robot
Copy link
Copy Markdown

@kfswain: new pull request created: #2099

Details

In response to this:

/cherrypick release-1.3

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@kfswain
Copy link
Copy Markdown
Collaborator

kfswain commented Jan 8, 2026

/cherrypick release-1.3

Last time! We were trying out some new automation that wasnt quite working. Sorry for the spam.

@k8s-infra-cherrypick-robot
Copy link
Copy Markdown

@kfswain: new pull request created: #2107

Details

In response to this:

/cherrypick release-1.3

Last time! We were trying out some new automation that wasnt quite working. Sorry for the spam.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

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. kind/bug Categorizes issue or PR as related to a bug. 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.

5 participants