Skip to content

Commit

Permalink
fix: wrong gaxOptions argument in sample (#1294)
Browse files Browse the repository at this point in the history
  • Loading branch information
baeminbo authored Jan 19, 2021
1 parent 577357a commit 8fec23a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions samples/dml.js
Original file line number Diff line number Diff line change
Expand Up @@ -680,9 +680,7 @@ async function insertWithCustomTimeoutAndRetrySettings(
LastName: 'Waller',
};

await table.insert(row, {
gaxOptions: retryAndTimeoutSettings,
});
await table.insert(row, retryAndTimeoutSettings);

console.log('record inserted.');
// [END spanner_set_custom_timeout_and_retry]
Expand Down

0 comments on commit 8fec23a

Please sign in to comment.