Skip to content

Commit

Permalink
Revert "Make a copy of the gaxOpts parameter"
Browse files Browse the repository at this point in the history
This reverts commit aa0c46b.
  • Loading branch information
danieljbruce committed Jan 22, 2024
1 parent aa0c46b commit 3cadbe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ Please use the format 'prezzy' or '${instance.name}/tables/prezzy'.`);
reqOpts.rowsLimit = rowsLimit - rowsRead;
}

const gaxOpts = populateAttemptHeader(
options.gaxOptions = populateAttemptHeader(
numRequestsMade,
options.gaxOptions
);
Expand All @@ -903,7 +903,7 @@ Please use the format 'prezzy' or '${instance.name}/tables/prezzy'.`);
client: 'BigtableClient',
method: 'readRows',
reqOpts,
gaxOpts,
gaxOpts: options.gaxOptions,
retryOpts,
});

Expand Down

0 comments on commit 3cadbe0

Please sign in to comment.