Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

fix: do not override user-provided options #463

Merged
merged 1 commit into from
Jul 9, 2020

Conversation

stephenplusplus
Copy link
Contributor

Fixes #460

@stephenplusplus stephenplusplus requested a review from a team as a code owner July 9, 2020 16:45
@@ -82,7 +83,13 @@ const Image = require('./image.js');
*/
class Compute extends common.Service {
constructor(options = {}) {
options.apiEndpoint = options.apiEndpoint || 'compute.googleapis.com';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh bother ... guessing this isn't the only place I did that 😬 @stephenplusplus could I trouble you to do a broad search for this pattern in our libs (I use @google/repo to do this) and see where else I biffed it?

@codecov
Copy link

codecov bot commented Jul 9, 2020

Codecov Report

Merging #463 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #463   +/-   ##
=======================================
  Coverage   99.60%   99.60%           
=======================================
  Files          22       22           
  Lines       11774    11781    +7     
=======================================
+ Hits        11728    11735    +7     
  Misses         46       46           
Impacted Files Coverage Δ
src/index.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 67ab7d7...42a3989. Read the comment docs.

@JustinBeckwith JustinBeckwith added the cla: yes This human has signed the Contributor License Agreement. label Jul 9, 2020
@JustinBeckwith JustinBeckwith merged commit e51074c into googleapis:master Jul 9, 2020
chingor13 pushed a commit to chingor13/nodejs-compute that referenced this pull request Oct 19, 2021
* Change triggered by none of the following:
This git repo (https://github.com/googleapis/nodejs-compute.git)
Git repo https://github.com/googleapis/synthtool.git

* build: set AUTOSYNTH_MULTIPLE_COMMITS=true for context aware commits (googleapis#422)

googleapis@2484e4b
commit 2484e4b
Author: Benjamin E. Coe <bencoe@google.com>
Date:   Tue Mar 31 18:42:26 2020 -0700

    build: set AUTOSYNTH_MULTIPLE_COMMITS=true for context aware commits (googleapis#422)

* docs: document the release schedule we follow (googleapis#454)

googleapis/synthtool@6a17abc
commit 6a17abc7652e2fe563e1288c6e8c23fc260dda97
Author: Benjamin E. Coe <bencoe@google.com>
Date:   Mon Mar 23 19:22:34 2020 -0700

    docs: document the release schedule we follow (googleapis#454)

* fix: do not run node 8 CI (googleapis#456)

googleapis/synthtool@1b4cc80
commit 1b4cc80a7aaf164f6241937dd87f3bd1f4149e0c
Author: Alexander Fenster <fenster@google.com>
Date:   Wed Mar 25 08:01:31 2020 -0700

    fix: do not run node 8 CI (googleapis#456)

* fix: update template files for Node.js libraries (googleapis#463)

googleapis/synthtool@9982024
commit 99820243d348191bc9c634f2b48ddf65096285ed
Author: Alexander Fenster <fenster@google.com>
Date:   Tue Mar 31 11:56:27 2020 -0700

    fix: update template files for Node.js libraries (googleapis#463)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compute module constructor adds apiEndpoint attribute to the given configuration
3 participants