Skip to content

Commit

Permalink
Set context
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelewski committed Dec 27, 2024
1 parent 8a5163b commit f3a90eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quesma/v2/core/quesma_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (quesma *Quesma) Start(ctx context.Context) {
activeFrontendConnectors = append(activeFrontendConnectors, fc)
}
for _, pipeline := range quesma.pipelines {
newCtx := context.WithValue(context.Background(), "activeFrontendConnectors", activeFrontendConnectors)
newCtx := context.WithValue(ctx, "activeFrontendConnectors", activeFrontendConnectors)
quesma.dependencies.Logger().Info().Msgf("Starting pipeline %v", pipeline)
pipeline.Start(newCtx)
activeFrontendConnectors = make([]FrontendConnector, 0)
Expand Down

0 comments on commit f3a90eb

Please sign in to comment.