Skip to content

Commit

Permalink
init qldb sdk client in addition to qldbdriver client (#2059)
Browse files Browse the repository at this point in the history
  • Loading branch information
evq authored Oct 3, 2023
1 parent 15d165d commit 4b6ea3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/payments/datastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,5 +309,5 @@ func newQLDBDatastore(ctx context.Context) (*QLDBDatastore, error) {
// Overrides the retry policy set by the driver instance
driver.SetRetryPolicy(retryPolicy2)

return &QLDBDatastore{QLDBDriver: driver}, nil
return &QLDBDatastore{QLDBDriver: driver, sdkClient: qldb.NewFromConfig(awsCfg)}, nil
}

0 comments on commit 4b6ea3f

Please sign in to comment.