-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[release-v0.37.x] Fix the issue with empty array replacement #5394
[release-v0.37.x] Fix the issue with empty array replacement #5394
Conversation
Prior to this change, if there is only one element in an array that is a reference to an empty array, the original array becomes nil after replacement, but it should be an empty array instead of nil. Fixes tektoncd#5149 Signed-off-by: Vincent Demeester <[email protected]>
77d4db9
to
3c3e426
Compare
/kind bug |
/approve |
The following is the coverage report on the affected files.
|
Signed-off-by: Vincent Demeester <[email protected]>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abayer 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 |
The following is the coverage report on the affected files.
|
What's the commit with "nosec"? Is that supposed to be in there? |
It's just making golangci-lint be quiet about something we don't care about that's only showing up now because we're using a newer golangci-lint in the test-runner image now than we were at the time of the v0.37.0 release. I already dealt with it on |
/lgtm |
/cherrypick release-v0.36.x |
@afrittoli: new pull request created: #5442 In response to this:
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/test-infra repository. |
Changes
This backports #5162 that fixes #5149 as it also affects 0.37.x.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes
/cc @abayer @afrittoli @lbernick @jerop