This commit is contained in:
Sebastien Blot 2021-04-29 14:29:07 +02:00
parent 31d5936789
commit 890934fdf3
No known key found for this signature in database
GPG key ID: DFC2902F40449F6A

View file

@ -141,14 +141,10 @@ func (f *FileSource) LiveAcquisition(out chan types.Event, t *tomb.Tomb) error {
return nil
}
func (f *FileSource) Dump() *FileSource {
func (f *FileSource) Dump() interface{} {
return f
}
func (f *FileSource) New() FileSource {
return FileSource{}
}
func (f *FileSource) monitorNewFiles(out chan types.Event, t *tomb.Tomb) error {
for {
select {