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

deprecate method_missing in cheffish merged_config #129

Merged
merged 2 commits into from
Oct 23, 2017

Conversation

lamont-granquist
Copy link
Contributor

typical "method_missing is terrible" reasons...

typical "method_missing is terrible" reasons...

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
@lamont-granquist
Copy link
Contributor Author

since this is a very base library object i don't want to use the chef logger and do not want to introduce a dep on chef itself (as a circular dep that is just going to cause endless pain and suffering).

its very likely that any WARNs emitted by this will be internal to our own chef-org codebase anyway.

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
@lamont-granquist
Copy link
Contributor Author

The only WARNs i got in chef-provisioning-fog for this were caused entirely by a very twisty rabbit hole caused entirely by #130 and will be gone once that is fixed. None of the code in that repo deliberately used this method_missing API. The fact that method_missing masked a bug is another good reason why it needs to go away.

@lamont-granquist lamont-granquist merged commit 78e6064 into master Oct 23, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants