-
Notifications
You must be signed in to change notification settings - Fork 583
Remove deprecated is_array function #1325
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While I agree with the removal, I do think we could go further and drop the compat data types too. These are basically the standard data types with bug-to-bug compatibility with the old functions if I recall correctly.
@smortex I agree to 100% |
Match expressions on the docs.puppet.com has been moved to https://www.puppet.com/docs/puppet/8/lang_data_type.html#match-expressions An example how I changed it: |
use match expressions with Stdlib::Compat::Array instead. They are described at https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#match-expressions.