diff options
author | Alan Pearce | 2025-03-24 17:18:18 +0100 |
---|---|---|
committer | Alan Pearce | 2025-03-24 17:18:18 +0100 |
commit | 41d40588457290477d87346a133be72be6c621cb (patch) | |
tree | 315a3527234fec652b7ff15ad425c137203634cf /cmd | |
parent | 0fb48cf6dd934778584120ebbc9e568c8b80b80e (diff) | |
download | searchix-41d40588457290477d87346a133be72be6c621cb.tar.lz searchix-41d40588457290477d87346a133be72be6c621cb.tar.zst searchix-41d40588457290477d87346a133be72be6c621cb.zip |
refactor: pass indexer to importer only once in options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/searchix-web/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/searchix-web/main.go b/cmd/searchix-web/main.go index 62feabc..20d4a94 100644 --- a/cmd/searchix-web/main.go +++ b/cmd/searchix-web/main.go @@ -107,7 +107,7 @@ func main() { return } - err = imp.EnsureSourcesIndexed(ctx, read, write) + err = imp.EnsureSourcesIndexed(ctx, read) if err != nil { logger.Fatal("Failed to setup index", "error", err) } |