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

Do not modify metaparams in place #705

Merged
merged 1 commit into from
Jun 7, 2021

Conversation

ekohl
Copy link
Collaborator

@ekohl ekohl commented May 25, 2021

This can have unexpected side effects and break other code that relies on it. This takes a safer approach by iterating over it.

Fixes: dd88b1a

@ekohl ekohl requested a review from a team as a code owner May 25, 2021 15:24
@puppet-community-rangefinder
Copy link

concat_file is a type

Breaking changes to this file WILL impact these 1 modules (exact match):
Breaking changes to this file MAY impact these 2 modules (near match):

This module is declared in 171 of 576 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@carabasdaniel
Copy link
Contributor

Hi @ekohl,

Thank you for putting up this fix. This change makes sense, however it seems acceptance tests are failing with these changes, can you take a look at the CI logs to identify/fix the problem ?

This can have unexpected side effects and break other code that relies
on it. This takes a safer approach by iterating over it.

Fixes: dd88b1a
@ekohl
Copy link
Collaborator Author

ekohl commented May 31, 2021

Oops, forgot one variable name.

@adrianiurca
Copy link
Contributor

Hey @ekohl, thank you for your contribution!

kind regards,
@adrianiurca

@adrianiurca adrianiurca merged commit 7c356ef into puppetlabs:main Jun 7, 2021
@ekohl ekohl deleted the no-modify-in-place branch June 7, 2021 13:46
@adrianiurca adrianiurca self-assigned this Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants