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

Fixes #17121: Make agents preserve perm on copy to keep previous behavior #2230

Conversation

amousset
Copy link
Member

@amousset amousset requested a review from peckpeck April 15, 2020 07:27
- if (attr.copy.preserve)
+ //if (attr.copy.preserve)
+ // Keep previous behavior to stay compatible
+ if (true)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we allow someone to put false here ?
this doesn't look like the default value, but every value

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed,but that was the previous behavior. There is no way to know if it is an explicit false or a default false.

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 9998ed0 into Normation:branches/rudder/5.0 Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants