diff options
Diffstat (limited to 'worker/middleware/foldermapper.go')
-rw-r--r-- | worker/middleware/foldermapper.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/worker/middleware/foldermapper.go b/worker/middleware/foldermapper.go index ee57b9c8..ba098191 100644 --- a/worker/middleware/foldermapper.go +++ b/worker/middleware/foldermapper.go @@ -26,6 +26,10 @@ func NewFolderMapper(base types.WorkerInteractor, mapping map[string]string, } } +func (f *folderMapper) Unwrap() types.WorkerInteractor { + return f.WorkerInteractor +} + func (f *folderMapper) incoming(msg types.WorkerMessage, dir string) string { f.Lock() defer f.Unlock() |