Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Add TLSClientConfig to default http client #3

Merged
merged 2 commits into from
Jun 13, 2017

Conversation

trotman23
Copy link

This change is to allow the configuration of a TLSClientConfig to be used on the resty requests made to the new relic api. A subsequent PR made to terraform is to follow.

@trotman23
Copy link
Author

Subsequent terraform PR:
hashicorp/terraform#15122

@@ -16,3 +17,19 @@ func newTestAPIClient(handler http.Handler) *Client {

return &c
}

func newTestAPIClientTLSConfig(handler http.Handler) *Client {
Copy link
Owner

Choose a reason for hiding this comment

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

Did you mean to use this in a test somewhere?

Copy link
Owner

Choose a reason for hiding this comment

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

(I realize I never finished my tests)

@paultyng
Copy link
Owner

Looks good to me, thest "testing" is at least as good as I did, lol.

@paultyng paultyng merged commit bc2e8dd into paultyng:master Jun 13, 2017
ianrayns pushed a commit to ianrayns/go-newrelic that referenced this pull request May 7, 2019
ianrayns pushed a commit to ianrayns/go-newrelic that referenced this pull request May 7, 2019
paultyng#3 Make resource_newrelic_alert_condition enabled status configurable
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.

3 participants