diff options
Diffstat (limited to 'internal/io/fs/catfile.go')
| -rw-r--r-- | internal/io/fs/catfile.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/io/fs/catfile.go b/internal/io/fs/catfile.go index 7f387bc..e4676f3 100644 --- a/internal/io/fs/catfile.go +++ b/internal/io/fs/catfile.go @@ -6,7 +6,7 @@ type CatFile struct { } // NewCatFile returns a new file catter. -func NewCatFile(filePath string, globID string, serverMessages chan<- string, limiter chan struct{}) CatFile { +func NewCatFile(filePath string, globID string, serverMessages chan<- string) CatFile { return CatFile{ readFile: readFile{ filePath: filePath, @@ -15,7 +15,6 @@ func NewCatFile(filePath string, globID string, serverMessages chan<- string, li retry: false, canSkipLines: false, seekEOF: false, - limiter: limiter, }, } } |
