Removing non-required initial Client and Transport values.

This commit is contained in:
Burcu Dogan 2014-09-04 11:58:14 -07:00
parent 9d409b9dbd
commit cd4a6ded37

View File

@ -97,11 +97,9 @@ func NewConfig(opts *Options, authURL, tokenURL string) (*Config, error) {
return nil, err
}
conf := &Config{
Client: http.DefaultClient,
Transport: http.DefaultTransport,
opts: opts,
authURL: aURL,
tokenURL: tURL,
opts: opts,
authURL: aURL,
tokenURL: tURL,
}
if err = conf.validate(); err != nil {
return nil, err