summaryrefslogtreecommitdiff
path: root/source/file.go
diff options
context:
space:
mode:
Diffstat (limited to 'source/file.go')
-rw-r--r--source/file.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/file.go b/source/file.go
index 4ef0e7c..004868f 100644
--- a/source/file.go
+++ b/source/file.go
@@ -20,8 +20,6 @@ type fileSource struct {
var _ Source = (*fileSource)(nil)
func newFile(log *slog.Logger, cfg Config) (*fileSource, error) {
- log = log.With(slog.String("source", "file"))
-
if _, err := os.Stat(cfg.Path); errors.Is(err, os.ErrNotExist) {
return nil, fmt.Errorf("cannot access file for source: %w", err)
}