summaryrefslogtreecommitdiff
path: root/internal/io/fs/catfile.go
diff options
context:
space:
mode:
authorPaul Buetow <35781042+pbuetow@users.noreply.github.com>2021-10-24 18:05:47 +0300
committerGitHub <noreply@github.com>2021-10-24 18:05:47 +0300
commit3d24204754aff155de21b01e9e3d82eb460fb87f (patch)
tree093fb4bff0bdf086188df86ca5d13dc7f8a34e4f /internal/io/fs/catfile.go
parent6edea198188172c603e10201aa2302a28b7b722f (diff)
parent6cfc4e161f94ab159d4b1ea491ffe6f166fa6204 (diff)
Merge pull request #24 from snonux/develop
Bugfixes around integration tests
Diffstat (limited to 'internal/io/fs/catfile.go')
-rw-r--r--internal/io/fs/catfile.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/io/fs/catfile.go b/internal/io/fs/catfile.go
index 01c15ba..e4676f3 100644
--- a/internal/io/fs/catfile.go
+++ b/internal/io/fs/catfile.go
@@ -6,9 +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,
@@ -17,7 +15,6 @@ func NewCatFile(filePath string, globID string, serverMessages chan<- string,
retry: false,
canSkipLines: false,
seekEOF: false,
- limiter: limiter,
},
}
}