doc: fix typo in function description (#2738)
This commit is contained in:
parent
9a9e7b7a37
commit
f9a0a4a280
|
|
@ -105,7 +105,7 @@ func (s *storedSessionLoader) loadSession(next http.Handler) http.Handler {
|
||||||
}
|
}
|
||||||
|
|
||||||
// getValidatedSession is responsible for loading a session and making sure
|
// getValidatedSession is responsible for loading a session and making sure
|
||||||
// that is is valid.
|
// that it is valid.
|
||||||
func (s *storedSessionLoader) getValidatedSession(rw http.ResponseWriter, req *http.Request) (*sessionsapi.SessionState, error) {
|
func (s *storedSessionLoader) getValidatedSession(rw http.ResponseWriter, req *http.Request) (*sessionsapi.SessionState, error) {
|
||||||
session, err := s.store.Load(req)
|
session, err := s.store.Load(req)
|
||||||
if err != nil || session == nil {
|
if err != nil || session == nil {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue