-
Notifications
You must be signed in to change notification settings - Fork 39.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
kubelet: use the base filename to check if the filename starts with a dot #45111
kubelet: use the base filename to check if the filename starts with a dot #45111
Conversation
Hi @dwradcliffe. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with 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. I understand the commands that are listed here. |
@k8s-bot ok to test @dwradcliffe thanks for the PR! Could you add a unit test for this? |
I attempted to write a test for this but for some reason I'm unable to get any of the tests in |
@dwradcliffe did you run the tests on a linux machine? The tests should not be skipped... |
I am going to merge the PR first since this is a relatively trivial PR. A followup PR to add a unit test for preventing regression would be good. /lgtm |
4677724
to
aa4fdf5
Compare
Rebased as requested |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dwradcliffe, yujuhong
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue |
This is already in 1.7 branch (it was merged in 1.7 timeframe). Changed milestone to 1.6 where cherrypick was already merged too. |
Commit found in the "release-1.6" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
What this PR does / why we need it:
Fixes a bug in #39196. The goal was to ignore files that start with a dot but the value used is the full absolute filename including path.
Which issue this PR fixes: fixes #44450
@yujuhong
Release note: