You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-08-10 22:51:31 +02:00
Remove unnecessary err variable definition
This commit is contained in:
committed by
Joel Speed
parent
0cb8d23222
commit
360c753d6f
@@ -209,7 +209,6 @@ func (s *storedSessionLoader) updateSessionFromStore(req *http.Request, session
|
||||
|
||||
func (s *storedSessionLoader) waitForPossibleSessionLock(session *sessionsapi.SessionState, req *http.Request) (bool, error) {
|
||||
var wasLocked bool
|
||||
var err error
|
||||
isLocked, err := session.PeekLock(req.Context())
|
||||
for isLocked {
|
||||
wasLocked = true
|
||||
|
Reference in New Issue
Block a user