From 1ff2fce25b5beeff50c9f312a32785c6cc6f0018 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Mon, 9 Nov 2015 00:50:42 +0100 Subject: [PATCH] oauthproxy: rename Uri to URI Be consistent with Go coding style for acroynyms. --- oauthproxy.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oauthproxy.go b/oauthproxy.go index 7082fb5..cbed710 100644 --- a/oauthproxy.go +++ b/oauthproxy.go @@ -197,8 +197,8 @@ func (p *OauthProxy) redeemCode(host, code string) (s *providers.SessionState, e if code == "" { return nil, errors.New("missing code") } - redirectUri := p.GetRedirectURI(host) - s, err = p.provider.Redeem(redirectUri, code) + redirectURI := p.GetRedirectURI(host) + s, err = p.provider.Redeem(redirectURI, code) if err != nil { return }