From 20ee400fc70425c8ceb2327259e24973aad30743 Mon Sep 17 00:00:00 2001 From: Owen Williams Date: Tue, 11 Jan 2022 12:55:30 -0500 Subject: [PATCH] Clarify the use of the passed-in context. Fixes a grammar typo, and also better communicates how the context will be used. --- services/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/service.go b/services/service.go index c559ef96a..3c7bcbdc1 100644 --- a/services/service.go +++ b/services/service.go @@ -55,7 +55,7 @@ func (s State) String() string { // type Service interface { // StartAsync starts Service asynchronously. Service must be in New State, otherwise error is returned. - // Context is used as a parent context for service own context. + // Context is used as a parent context for all of the service's own child operation contexts. StartAsync(ctx context.Context) error // AwaitRunning waits until service gets into Running state.