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 consul tls settings #3719

Merged
merged 4 commits into from
Dec 19, 2017
Merged

fix consul tls settings #3719

merged 4 commits into from
Dec 19, 2017

Conversation

antergone
Copy link
Contributor

tls_skip_verify = "false" => insecureSkipVerify=true ?
tls_skip_verify = 0 => insecureSkipVerify=true ?

tlsSkipVerify, ok := conf["tls_skip_verify"]

if ok && tlsSkipVerify != "" {
b, err := strconv.ParseBool(tlsSkipVerify)
Copy link
Member

Choose a reason for hiding this comment

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

Please use parseutil.ParseBool instead.

@jefferai jefferai added this to the 0.9.1 milestone Dec 19, 2017
@jefferai jefferai merged commit f46e6ca into hashicorp:master Dec 19, 2017
@jefferai
Copy link
Member

Thanks!

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