git.iko.soy/typeable/oauth2-proxy
on master help sign in
oauthproxy: rename Uri to URI

Be consistent with Go coding style for acroynyms.

commit1ff2fce25b5beeff50c9f312a32785c6cc6f0018 authorBrandon Philips <brandon.philips@coreos.com> dateMon 9 Nov 2015, 00:50 (11 years ago) parent51a2e4e
1 file changed+2−2
oauthproxy.go+2−2
oauthproxy.go+2−2
@@ -197,8 +197,8 @@ func (p *OauthProxy) redeemCode(host, code string) (s *providers.SessionState, e
197197 if code == "" {
198198 return nil, errors.New("missing code")
199199 }
200− redirectUri := p.GetRedirectURI(host)
201− s, err = p.provider.Redeem(redirectUri, code)
200+ redirectURI := p.GetRedirectURI(host)
201+ s, err = p.provider.Redeem(redirectURI, code)
202202 if err != nil {
203203 return
204204 }