From 6d09c3dfb681621414a1b8fbd758a8be9823fa2b Mon Sep 17 00:00:00 2001 From: Florian Knigge <33926860+Kniggebrot@users.noreply.github.com> Date: Fri, 25 Oct 2024 13:33:19 +0200 Subject: [PATCH] Fix unneeded return for `c.WaitAllStopped()` Isn't returning a value, just blocking --- service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.go b/service.go index 12103cb..65771ea 100644 --- a/service.go +++ b/service.go @@ -357,7 +357,7 @@ func (c *Container) WaitAllStoppedTimeout(timeout time.Duration) { ctx, cancel = context.WithCancel(context.Background()) } defer cancel() - return c.WaitAllStopped(ctx) + c.WaitAllStopped(ctx) } // ServiceErrors returns all errors occurred in services