Lazy sync doesn't work for the same path in different forms #347
Labels
bug
This issue describes a defect or unexpected behavior
carvel-accepted
This issue should be considered for future work and that the triage process has been completed
What steps did you take:
Removed trailing slash from a directory path in a
vendir.yml
which was synced before and ranvendir sync
again.What happened:
The source was downloaded again even though
lazy
option was enabled in the config.What did you expect:
I expect vendir to skip download, because the config essentially wasn't changed.
Anything else you would like to add:
Consider the following
vendir.yml
:Running initial
vendir sync
downloads the source and prints the following:Now run
vendir sync
again to see that the download is skipped due to thelazy
flag:Now remove the trailing slash from the config as it is not needed in fact:
And run
vendir sync
again:The source was downloaded again.
Environment:
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: