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:
parent
639ae65ace
commit
3f0ece8508
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue