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

docs: fixes small typo #553

Merged
merged 4 commits into from
May 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions samples/sendgrid.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015-2016, Google, Inc.
// Copyright 2015 Google, Inc
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
Expand All @@ -24,8 +24,7 @@ async function sendgridExample() {
to: 'to_email@example.com',
from: 'from_email@example.com',
subject: 'Sendgrid test email from Node.js on Google Cloud Platform',
text:
'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.',
text: 'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.',
});
}
sendgridExample();
Expand Down
3 changes: 2 additions & 1 deletion samples/startupScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async function main(name = 'start-script-example') {
console.log('Operation complete. Waiting for IP');
await pingVM(ip);

console.log(`\n${name} created succesfully`);
console.log(`\n${name} created successfully`);
}

/**
Expand All @@ -96,6 +96,7 @@ async function main(name = 'start-script-example') {
}

createVMWithStartupScript();
// [END gce_startup_script]
}

main(...process.argv.slice(2));
3 changes: 1 addition & 2 deletions samples/test/sendgrid.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ describe('sendgrid', () => {
from: 'from_email@example.com',
subject:
'Sendgrid test email from Node.js on Google Cloud Platform',
text:
'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.',
text: 'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.',
});
},
},
Expand Down
15 changes: 6 additions & 9 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2404,9 +2404,8 @@ Compute.prototype.getDisksStream = paginator.streamify('getDisks');
* });
*/

Compute.prototype.getInstanceGroupsStream = paginator.streamify(
'getInstanceGroups'
);
Compute.prototype.getInstanceGroupsStream =
paginator.streamify('getInstanceGroups');

/**
* Get a list of {@link Firewall} objects as a readable object stream.
Expand Down Expand Up @@ -2465,9 +2464,8 @@ Compute.prototype.getFirewallsStream = paginator.streamify('getFirewalls');
* this.end();
* });
*/
Compute.prototype.getHealthChecksStream = paginator.streamify(
'getHealthChecks'
);
Compute.prototype.getHealthChecksStream =
paginator.streamify('getHealthChecks');

/**
* Get a list of {@link Image} objects as a readable object stream.
Expand Down Expand Up @@ -2526,9 +2524,8 @@ Compute.prototype.getImagesStream = paginator.streamify('getImages');
* this.end();
* });
*/
Compute.prototype.getMachineTypesStream = paginator.streamify(
'getMachineTypes'
);
Compute.prototype.getMachineTypesStream =
paginator.streamify('getMachineTypes');

/**
* Get a list of {@link Network} objects as a readable object stream.
Expand Down
5 changes: 2 additions & 3 deletions src/zone.js
Original file line number Diff line number Diff line change
Expand Up @@ -1540,9 +1540,8 @@ Zone.prototype.getDisksStream = paginator.streamify('getDisks');
* this.end();
* });
*/
Zone.prototype.getInstanceGroupsStream = paginator.streamify(
'getInstanceGroups'
);
Zone.prototype.getInstanceGroupsStream =
paginator.streamify('getInstanceGroups');

/**
* Get a list of {@link MachineType} objects for this zone as a
Expand Down