Skip to content

Add validation for true/false parameters#12

Open
hunner wants to merge 1 commit into
jfryman:masterfrom
hunner:validate_input
Open

Add validation for true/false parameters#12
hunner wants to merge 1 commit into
jfryman:masterfrom
hunner:validate_input

Conversation

@hunner

@hunner hunner commented Nov 15, 2012

Copy link
Copy Markdown
Contributor

If parameters which are expected to be true/false are not a boolean
type, such as passing a quoted 'true' to the server parameter of
Class['gitolite'] then the gitolite module will silently do nothing.
This commit corrects that behaviour.

If parameters which are expected to be true/false are not a boolean
type, such as passing a quoted 'true' to the `server` parameter of
`Class['gitolite']` then the gitolite module will silently do nothing.
This commit corrects that behaviour.
@roidelapluie

Copy link
Copy Markdown
Contributor

Do we really want to depend on stdlib?

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