oauthproxy: rename Uri to URI

Be consistent with Go coding style for acroynyms.
This commit is contained in:
Brandon Philips 2015-11-09 00:50:42 +01:00
parent 51a2e4e48c
commit 1ff2fce25b

View File

@ -197,8 +197,8 @@ func (p *OauthProxy) redeemCode(host, code string) (s *providers.SessionState, e
if code == "" { if code == "" {
return nil, errors.New("missing code") return nil, errors.New("missing code")
} }
redirectUri := p.GetRedirectURI(host) redirectURI := p.GetRedirectURI(host)
s, err = p.provider.Redeem(redirectUri, code) s, err = p.provider.Redeem(redirectURI, code)
if err != nil { if err != nil {
return return
} }