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

fix uninitialized constant Chef::Knife::Cloud::VraServerCreate::VraServiceHelpers #54

Merged
merged 1 commit into from
Nov 25, 2020

Conversation

mwrock
Copy link
Member

@mwrock mwrock commented Oct 20, 2020

fixes #53

Signed-off-by: mwrock matt@mattwrock.com

…rviceHelpers

Signed-off-by: mwrock <matt@mattwrock.com>
include VraServiceOptions
include ServerCreateOptions
include VraServiceHelpers
Copy link
Contributor

Choose a reason for hiding this comment

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

If you can make it work by putting the require and the include in the deps block you won't take the penalty of loading that code every time you run any old knife command.

Copy link
Member Author

Choose a reason for hiding this comment

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

That was my first attempt but it blew up several tests that call validate_params! directly which does not trigger the deps block.

@tas50 tas50 merged commit a61deab into master Nov 25, 2020
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.

knife vra <command> fails
3 participants