Skip to content

Commit

Permalink
Correct 'cancellation' typo in comment
Browse files Browse the repository at this point in the history
Signed-off-by: Casey Korver <casey@korver.dev>
  • Loading branch information
korverdev authored and glours committed Jun 5, 2024
1 parent 250c311 commit 02f40ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/compose/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (s *composeService) Up(ctx context.Context, project *types.Project, options
})
}

// We use the parent context without cancelation as we manage sigterm to stop the stack
// We use the parent context without cancellation as we manage sigterm to stop the stack
err = s.start(context.WithoutCancel(ctx), project.Name, options.Start, printer.HandleEvent)
if err != nil && !isTerminated.Load() { // Ignore error if the process is terminated
return err
Expand Down

0 comments on commit 02f40ee

Please sign in to comment.