feat(backend): fixed failover mock
This commit is contained in:
parent
ee75b2795a
commit
51a6d87e68
1 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ package failover
|
|||
import (
|
||||
config "openreplay/backend/internal/config/storage"
|
||||
"openreplay/backend/internal/storage"
|
||||
"openreplay/backend/pkg/logger"
|
||||
)
|
||||
|
||||
type SessionFinder interface {
|
||||
|
|
@ -16,6 +17,6 @@ type sessionFinderMock struct{}
|
|||
func (s *sessionFinderMock) Find(sessionID, timestamp uint64) {}
|
||||
func (s *sessionFinderMock) Stop() {}
|
||||
|
||||
func NewSessionFinder(cfg *config.Config, stg *storage.Storage) (SessionFinder, error) {
|
||||
func NewSessionFinder(log logger.Logger, cfg *config.Config, stg *storage.Storage) (SessionFinder, error) {
|
||||
return &sessionFinderMock{}, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue