fix(evolver): correct ctx variable declaration (use = instead of := for parameter shadow)

The function RunEvolutionLoop takes ctx as a parameter, so line 191
should use = instead of := to avoid shadowing the parameter.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
jedarden 2026-05-26 13:43:24 -04:00
parent 639ae65ace
commit 3f0ece8508

View file

@ -188,7 +188,7 @@ func RunEvolutionLoop(ctx context.Context, dbURL string, args []string) {
defer db.Close()
// Initialize database schema and seed initial population if needed
ctx := context.Background()
ctx = context.Background()
if err := evolverdb.EnsureSchema(ctx, db); err != nil {
log.Fatalf("ensure schema: %v", err)
}