Browse Source

fix log loader not working.

main
Gisle Aune 4 years ago
parent
commit
2c909e6d85
  1. 2
      services/loader.go

2
services/loader.go

@ -126,7 +126,7 @@ func (l *Loader) FindLog(ctx context.Context, id string) (*models.LogResult, err
Task: nil, Task: nil,
} }
task, err := l.DB.Tasks().Find(ctx, id)
task, err := l.DB.Tasks().Find(ctx, log.TaskID)
if err != nil { if err != nil {
return nil, err return nil, err
} }

Loading…
Cancel
Save