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

Update usage of global variablesin vsphere_helper #198

Merged
merged 1 commit into from
Mar 8, 2017

Conversation

mattkirby
Copy link
Contributor

This commit updates usage of global variables in vsphere_helper to be instance variables. They do not need to be global variables as brought up in issue #194. Without this change we are setting global variables when they are not needed.

Copy link
Contributor

@glennsarti glennsarti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would've like to have seen spec tests on this..but happy for a merge.

@mattkirby
Copy link
Contributor Author

Would it be better to submit this as a PR to #196 so there's a place for them?

@glennsarti
Copy link
Contributor

Um.. Not sure. My intent in 196 was to document the existing behaviour only and then we can submit later PRs to modify the behaviour. However I'm not averse to this PR being merged prior to 196. All it's doing is just shifting when the work gets done :-)

@shrug
Copy link

shrug commented Mar 8, 2017

I think this needs a rebase

This commit updates usage of global variables in vsphere_helper to be instance variables. They do not need to be global variables as brought up in issue puppetlabs#194. Without this change we are setting global variables when they are not needed.
@glennsarti glennsarti force-pushed the helper_no_global_vars branch from a84a498 to 80c01eb Compare March 8, 2017 23:14
@glennsarti
Copy link
Contributor

@shrug Rebased on @mattkirby 's behalf

@shrug shrug merged commit 03ad7bf into puppetlabs:master Mar 8, 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.

3 participants