diff --git a/pkg/bridge/connectors/stripe/scheduler.go b/pkg/bridge/connectors/stripe/scheduler.go index f96c4ffd..9076f7aa 100644 --- a/pkg/bridge/connectors/stripe/scheduler.go +++ b/pkg/bridge/connectors/stripe/scheduler.go @@ -9,7 +9,6 @@ import ( ) type Scheduler struct { - name string logObjectStorage bridge.LogObjectStorage runner *Runner accountRunners map[string]*Runner @@ -69,7 +68,7 @@ func (s *Scheduler) ingest(ctx context.Context, bts []*stripe.BalanceTransaction batch := bridge.Batch{} for _, bt := range bts { - batchElement, handled := CreateBatchElement(bt, s.name, !tail) + batchElement, handled := CreateBatchElement(bt, !tail) if !handled { s.accountLogger(account).Errorf("Balance transaction type not handled: %s", bt.Type) continue diff --git a/pkg/bridge/connectors/stripe/translate.go b/pkg/bridge/connectors/stripe/translate.go index 7a7a4b49..c00eea2e 100644 --- a/pkg/bridge/connectors/stripe/translate.go +++ b/pkg/bridge/connectors/stripe/translate.go @@ -120,7 +120,7 @@ var currencies = map[string]currency{ "ZWD": {2}, // Zimbabwe Dollar } -func CreateBatchElement(bt *stripe.BalanceTransaction, connectorName string, forward bool) (bridge.BatchElement, bool) { +func CreateBatchElement(bt *stripe.BalanceTransaction, forward bool) (bridge.BatchElement, bool) { var ( identifier payment.Identifier paymentData *payment.Data