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

Refactor and fix the file provider #451

Merged
merged 2 commits into from
Jan 10, 2022

Conversation

dduportal
Copy link
Contributor

Fix #450

It also refactors the file provider (not much) to follow the other plugins naming conventions

Test

To test this pull request, you can run the following commands:

go build -o ./dist/updatecli && ./dist/updatecli diff --config examples/updatecli.generic/file.yaml

Additional Information

Tradeoff

Potential improvement

@dduportal dduportal added bug Something isn't working resource-file Resource of kind File target Related to updatecli target labels Jan 8, 2022
lemeurherve
lemeurherve previously approved these changes Jan 8, 2022
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
@olblak olblak merged commit d4d8880 into updatecli:main Jan 10, 2022
@dduportal dduportal deleted the chore/resource-file branch January 14, 2022 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resource-file Resource of kind File target Related to updatecli target
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: target file does not create a file when forcecreate: true
3 participants