Skip to content

Commit

Permalink
Fix unneeded return for c.WaitAllStopped()
Browse files Browse the repository at this point in the history
Isn't returning a value, just blocking
  • Loading branch information
Kniggebrot authored Oct 25, 2024
1 parent 4d1d7b0 commit 6d09c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d09c3d

Please sign in to comment.