Remove unnecessary err variable definition
This commit is contained in:
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue