Skip to content

Commit

Permalink
renaming of local var
Browse files Browse the repository at this point in the history
  • Loading branch information
asmyasnikov committed Oct 16, 2023
1 parent 6403142 commit 4f6a7b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/basic_example_database_sql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,8 @@ func TestBasicExampleDatabaseSql(t *testing.T) {
`
)
err := retry.DoTx(ctx, db,
func(ctx context.Context, cc *sql.Tx) error {
rows, err := cc.QueryContext(ctx, query,
func(ctx context.Context, tx *sql.Tx) error {
rows, err := tx.QueryContext(ctx, query,
sql.Named("seriesID", seriesID),
sql.Named("seasonID", seasonID),
sql.Named("episodeID", episodeID),
Expand Down

0 comments on commit 4f6a7b2

Please sign in to comment.