about summary refs log tree commit diff stats
path: root/cmd/searchix-web
diff options
context:
space:
mode:
authorAlan Pearce2025-03-24 17:18:18 +0100
committerAlan Pearce2025-03-24 17:18:18 +0100
commit41d40588457290477d87346a133be72be6c621cb (patch)
tree315a3527234fec652b7ff15ad425c137203634cf /cmd/searchix-web
parent0fb48cf6dd934778584120ebbc9e568c8b80b80e (diff)
downloadsearchix-41d40588457290477d87346a133be72be6c621cb.tar.lz
searchix-41d40588457290477d87346a133be72be6c621cb.tar.zst
searchix-41d40588457290477d87346a133be72be6c621cb.zip
refactor: pass indexer to importer only once in options
Diffstat (limited to 'cmd/searchix-web')
-rw-r--r--cmd/searchix-web/main.go2
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)
 	}