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

(maint) Refactor Configuration #388

Merged
merged 5 commits into from
Apr 12, 2016
Merged

(maint) Refactor Configuration #388

merged 5 commits into from
Apr 12, 2016

Conversation

parisiale
Copy link
Contributor

  • README change: required leatherman version
  • Style changes
  • Remove HW alias from Configuration header
  • Use boost::format for error messages, to make things clearer
  • Remove duplicated code from Configuration functions

switch (opt_idx->ptr->type) {
case Integer:
check_key_type(key, "Integer", lth_jc::DataType::Int);
HW::SetFlag<int>(key, config_json.get<int>(key));
Copy link
Contributor

Choose a reason for hiding this comment

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

should this use HorseWhisperer rather than HW?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no; the "HW" alias is defined above

@mruzicka
Copy link
Contributor

LGTM

@mruzicka mruzicka merged commit 732f821 into puppetlabs:master Apr 12, 2016
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.

2 participants