Skip to content

Commit

Permalink
Revert "Revert "Make a copy of the gaxOpts parameter"" (#1379)
Browse files Browse the repository at this point in the history
This reverts commit 3cadbe0.
  • Loading branch information
danieljbruce authored Jan 22, 2024
1 parent 3cadbe0 commit 6a889ea
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;
}

options.gaxOptions = populateAttemptHeader(
const gaxOpts = 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: options.gaxOptions,
gaxOpts,
retryOpts,
});

Expand Down

0 comments on commit 6a889ea

Please sign in to comment.