From 8e532fe5dc337ff547e2066a2ce528450da5ed67 Mon Sep 17 00:00:00 2001 From: Julien Breux Date: Wed, 24 Apr 2024 17:39:43 +0200 Subject: [PATCH] Update follow_logs.md with adding missing package (#2513) --- docs/features/follow_logs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +```