bridgev2: make Bridge.Start() take a context

This commit is contained in:
Adam Van Ymeren 2025-04-08 17:08:42 -07:00
commit 04f4c2dcc6

View file

@ -107,8 +107,8 @@ func (e DBUpgradeError) Unwrap() error {
return e.Err
}
func (br *Bridge) Start() error {
ctx := br.Log.WithContext(context.Background())
func (br *Bridge) Start(ctx context.Context) error {
ctx = br.Log.WithContext(ctx)
err := br.StartConnectors(ctx)
if err != nil {
return err