Skip to content

Commit 8cd529c

Browse files
committed
fix(chore): set back the storer name in the detail directive
1 parent 9301a77 commit 8cd529c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/middleware/middleware.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,8 @@ func (s *SouinBaseHandler) ServeHTTP(rw http.ResponseWriter, rq *http.Request, n
644644
fresh, stale = currentStorer.GetMultiLevel(finalKey, req, validator)
645645

646646
if fresh != nil || stale != nil {
647-
s.Configuration.GetLogger().Debugf("Found at least one valid response in the %s storage", currentStorer.Name())
647+
storerName = currentStorer.Name()
648+
s.Configuration.GetLogger().Debugf("Found at least one valid response in the %s storage", storerName)
648649
break
649650
}
650651
}

0 commit comments

Comments
 (0)