Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

(maint) Refactor Configuration #388

Merged
merged 5 commits into from
Apr 12, 2016
Merged

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-toy-chest:master Apr 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants