Skip to content
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

Fix 3489 #3529

Merged
merged 1 commit into from Feb 3, 2021
Merged

Fix 3489 #3529

merged 1 commit into from Feb 3, 2021

Conversation

monopole
Copy link
Contributor

@monopole monopole commented Feb 3, 2021

Fixes #3489

For some time, SameEndingSubarray (formerly private, with no unit test) was treating an empty array and a one entry array as having the same "ending subarray" which was failing to eliminate referral targets that differed by one prefix or suffix in one referral target. This change fixes that, improving referral target filtering. This comes up in diamond patterns, where one branch adds a prefix or suffix, and the other branch doesn't.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 3, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: monopole

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Feb 3, 2021
@monopole monopole requested review from natasha41575 and removed request for pwittrock February 3, 2021 04:48
@monopole monopole changed the title Fix3489 Fix 3489 Feb 3, 2021
@sylr
Copy link
Contributor

sylr commented Feb 3, 2021

I'm not capable of doing a code review but can assert that it fixes #3489.

LGTM 👍

@natasha41575
Copy link
Contributor

@monopole Do you have a preference if this goes in first or if #3525 goes in first?

@natasha41575
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 3, 2021
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Feb 3, 2021
@natasha41575
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 3, 2021
@k8s-ci-robot k8s-ci-robot merged commit 6246262 into kubernetes-sigs:master Feb 3, 2021
@monopole monopole deleted the fix3489 branch February 4, 2021 19:06
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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kustomize "multiple matches" failure since kustomize/v3.9.2
4 participants