Skip to content

Commit

Permalink
Update follow_logs.md with adding missing package (#2513)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienBreux committed Apr 24, 2024
1 parent ab60437 commit 8e532fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/features/follow_logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type TestLogConsumer struct {
Msgs []string // store the logs as a slice of strings
}

func (g *TestLogConsumer) Accept(l Log) {
func (g *TestLogConsumer) Accept(l testcontainers.Log) {
g.Msgs = append(g.Msgs, string(l.Content))
}
```
Expand Down Expand Up @@ -137,4 +137,4 @@ go func(done chan struct{}, timeout time.Duration) {
}
}
}(cons.logListeningDone, time.Duration(10*time.Second))
```
```

0 comments on commit 8e532fe

Please sign in to comment.