Don't use http.DefaultClient

This strips out http.DefaultClient everywhere I could immediately find
it. Too many things use it and then modify it in incompatible ways.

Fixes #700, I believe.
This commit is contained in:
Jeff Mitchell
2015-10-15 16:09:45 -04:00
parent cae3ee4fa9
commit 0dbbef1ac0
9 changed files with 50 additions and 73 deletions

View File

@@ -26,7 +26,7 @@ func TestBackend_Config(t *testing.T) {
login_data := map[string]interface{}{
// This token has to be replaced with a working token for the test to work.
"token": "4fb5f4f0738c7aea5ee06dd595f15236ea78918b",
"token": os.Getenv("GITHUB_TOKEN"),
}
config_data1 := map[string]interface{}{
"organization": "hashicorp",