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

List parameters to classes is sort sensitive #16

Open
dalen opened this issue Aug 19, 2015 · 0 comments
Open

List parameters to classes is sort sensitive #16

dalen opened this issue Aug 19, 2015 · 0 comments

Comments

@dalen
Copy link

dalen commented Aug 19, 2015

The tool counts a difference in list sorting on a class parameter as a catalog difference even if there's no actual difference in the resources it produces.

For example:

class foo ($list) {
  notify { inline_template('<%= @list.sort %>'): }
}

including this class with the list parameter being [1,2] or [2,1] makes no difference to any resource, but the tool still alerts that the class itself differs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant