diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-14 00:12:54 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-14 00:12:54 +0200 |
| commit | 5e416d613f61cfc16277d343e30c3c8a00b21b35 (patch) | |
| tree | d73b06932e9806c21f4ff7a8bf3f985b361f82cf /internal/app/app.go | |
| parent | 956f84321860bd8e318545564474037cbd3b6fd9 (diff) | |
remove version and some refactoring
Diffstat (limited to 'internal/app/app.go')
| -rw-r--r-- | internal/app/app.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/app/app.go b/internal/app/app.go index 4544f0f..c18dc30 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -15,7 +15,6 @@ func Run(cfg *config.Config) error { ctx, cancel := context.WithCancel(context.Background()) defer cancel() - scriptPath := ScriptPath() store := NewStore() var wg sync.WaitGroup @@ -24,7 +23,7 @@ func Run(cfg *config.Config) error { wg.Add(1) go func() { defer wg.Done() - _ = collector.Run(ctx, h, cfg, store, scriptPath) + _ = collector.Run(ctx, h, cfg, store) }() } |
