diff --git a/docs/features/follow_logs.md b/docs/features/follow_logs.md index 6ba01cb734..5ffdc27538 100644 --- a/docs/features/follow_logs.md +++ b/docs/features/follow_logs.md @@ -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)) } ``` @@ -137,4 +137,4 @@ go func(done chan struct{}, timeout time.Duration) { } } }(cons.logListeningDone, time.Duration(10*time.Second)) -``` \ No newline at end of file +```