gce: don't make http client twice.

doesn't really matter, but.

Change-Id: I21495be1780e74464c7016979174ba722400ef1a
This commit is contained in:
Brad Fitzpatrick 2014-08-18 17:17:33 -07:00
parent 50f03763be
commit 082876c600
1 changed files with 3 additions and 2 deletions

View File

@ -142,8 +142,9 @@ coreos:
}
tr.Token = token
computeService, _ := compute.New(&http.Client{Transport: tr})
storageService, _ := storage.New(&http.Client{Transport: tr})
oauthClient := &http.Client{Transport: tr}
computeService, _ := compute.New(oauthClient)
storageService, _ := storage.New(oauthClient)
blobBucket := *proj + "-camlistore-blobs"
configBucket := *proj + "-camlistore-config"