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 return nil, err
} }
conf := &Config{ conf := &Config{
Client: http.DefaultClient, opts: opts,
Transport: http.DefaultTransport, authURL: aURL,
opts: opts, tokenURL: tURL,
authURL: aURL,
tokenURL: tURL,
} }
if err = conf.validate(); err != nil { if err = conf.validate(); err != nil {
return nil, err return nil, err