fix checkIsEmptyDir
What type of PR is this?
/kind bug
What this PR does / why we need it:
fix bug in recursive checkIsEmptyDir that not work from 1.33.0...
Which issue(s) this PR fixes:
Fixes #1977
The committers listed above are authorized under a signed CLA.
- :white_check_mark: login: mcarbonneaux / name: CARBONNEAUX Mathieu (ba5480a138b5571751a6fb9c1fa0b3997cf7b625)
Welcome @mcarbonneaux!
It looks like this is your first PR to kubernetes/kompose 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.
You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.
You can also check if kubernetes/kompose has its own contribution guidelines.
You may want to refer to our testing guide if you run into trouble with your tests not passing.
If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!
Thank you, and welcome to Kubernetes. :smiley:
gofmt also needs to be called too! Thanks for the contribution @mcarbonneaux
@mcarbonneaux seems like some e2e tests are failing due to your PR. Can you fix them before approving the PR?
i've tryed to fix the test.
any news ?
any news ?
Hi, sorry about the delay.
Can you rebase against master and try again with the tests / see if it works?
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: mcarbonneaux Once this PR has been reviewed and has the lgtm label, please assign tessaio for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Can you rebase against master and try again with the tests / see if it works?
i've synced the master, but i don't kown how to launch the test.
i've try make test and i have this error but is seem not related to my commits:
===> Starting test <===
convert::expect_success: Running: 'kompose -f /data/ch2o/k8s/kompose/script/test/fixtures/configmap-file-configs/compose-3.yaml convert --stdout --with-kompose-annotation=false' expected_output: '/data/ch2o/k8s/kompose/script/test/fixtures/configmap-file-configs/output-k8s-3.yaml'
.....
test: "" kind: ConfigMap metadata: labels: io.kompose.service: busy name: busy-cm0 kind: ConfigMap metadata: name: busy-cm0 labels: io.kompose.service: busy spec.template.spec (apps/v1/Deployment/busy) + one map entry added: volumes: - name: busy-cm0 configMap: name: busy-cm0 spec.template.spec.containers.busy (apps/v1/Deployment/busy) + one map entry added: volumeMounts: - name: busy-cm0 mountPath: /tmp readOnly: true
FAIL: converted output does not match
make: *** [Makefile:85: test-cmd] Error 1
the diff of the genereted spec and the espected spec:
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.
This bot triages PRs according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the PR is closed
You can:
- Mark this PR as fresh with
/remove-lifecycle stale - Close this PR with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs.
This bot triages PRs according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the PR is closed
You can:
- Mark this PR as fresh with
/remove-lifecycle rotten - Close this PR with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages PRs according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the PR is closed
You can:
- Reopen this PR with
/reopen - Mark this PR as fresh with
/remove-lifecycle rotten - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/close
@k8s-triage-robot: Closed this PR.
In response to this:
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages PRs according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied- After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied- After 30d of inactivity since
lifecycle/rottenwas applied, the PR is closedYou can:
- Reopen this PR with
/reopen- Mark this PR as fresh with
/remove-lifecycle rotten- Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/close
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.
/reopen
@n-rodriguez: You can't reopen an issue/PR unless you authored it or you are a collaborator.
In response to this:
/reopen
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.
Facing the same problem, here. I would love to see this reopened.
kind ping @mcarbonneaux if not, could we open a separate PR from our side with your fix?
Going to close this PR for now / curating some of our old PR's at the moment.
Please feel free to re-open this after updating!