Remove unnecessary err variable definition

This commit is contained in:
Kevin Kreitner 2021-10-18 09:04:54 +02:00 committed by Joel Speed
parent 0cb8d23222
commit 360c753d6f
No known key found for this signature in database
GPG Key ID: 6E80578D6751DEFB
1 changed files with 0 additions and 1 deletions

View File

@ -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