-
Notifications
You must be signed in to change notification settings - Fork 582
Remove deprecated unique function #1311
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
DOC | ||
) do |arguments| | ||
if Puppet::Util::Package.versioncmp(Puppet.version, '5.0.0') >= 0 | ||
function_deprecation([:unique, 'This method is deprecated, please use the core puppet unique function. There is further documentation for the function in the release notes of Puppet 5.0.']) |
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.
This is intriguing. Was this ever reachable?? ie If you were on Puppet 5 wouldn't the built in function automatically get used instead and was there anyway round this?
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.
LGTM. Will wait for a second review before merging tho.
unique function has been deprecated in favour of core version since puppet 5