Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

router: Add test coverage for http route TLS #2882

Merged
merged 1 commit into from
May 30, 2016

Conversation

jvatic
Copy link
Contributor

@jvatic jvatic commented May 30, 2016

\cc @titanous

if c, ok := tlsCerts[domain]; ok {
return []byte(c.CACert), []byte(c.PrivateKey)
}
fmt.Printf("Generating TLS Cert for %s...\n", domain)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this print necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope

@jvatic jvatic force-pushed the router-add-tls-test-coverage branch from df4384a to 4629cb1 Compare May 30, 2016 18:09
@jvatic
Copy link
Contributor Author

jvatic commented May 30, 2016

@titanous comments addressed

@jvatic jvatic force-pushed the router-add-tls-test-coverage branch from 4629cb1 to 7db46dc Compare May 30, 2016 18:41
Previously there were no failing tests if TLS was broken

Signed-off-by: Jesse Stuart <jesse@jessestuart.ca>
@titanous
Copy link
Contributor

LGTM

@jvatic jvatic merged commit 09aea78 into master May 30, 2016
@jvatic jvatic deleted the router-add-tls-test-coverage branch May 30, 2016 19:15
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