File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- // Copyright 2015-2016, Google, Inc.
1+ // Copyright 2015 Google, Inc
22// Licensed under the Apache License, Version 2.0 (the "License");
33// you may not use this file except in compliance with the License.
44// You may obtain a copy of the License at
@@ -24,8 +24,7 @@ async function sendgridExample() {
2424 to : 'to_email@example.com' ,
2525 from : 'from_email@example.com' ,
2626 subject : 'Sendgrid test email from Node.js on Google Cloud Platform' ,
27- text :
28- 'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.' ,
27+ text : 'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.' ,
2928 } ) ;
3029}
3130sendgridExample ( ) ;
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ async function main(name = 'start-script-example') {
7272 console . log ( 'Operation complete. Waiting for IP' ) ;
7373 await pingVM ( ip ) ;
7474
75- console . log ( `\n${ name } created succesfully ` ) ;
75+ console . log ( `\n${ name } created successfully ` ) ;
7676 }
7777
7878 /**
@@ -96,6 +96,7 @@ async function main(name = 'start-script-example') {
9696 }
9797
9898 createVMWithStartupScript ( ) ;
99+ // [END gce_startup_script]
99100}
100101
101102main ( ...process . argv . slice ( 2 ) ) ;
Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ describe('sendgrid', () => {
3232 from : 'from_email@example.com' ,
3333 subject :
3434 'Sendgrid test email from Node.js on Google Cloud Platform' ,
35- text :
36- 'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.' ,
35+ text : 'Well hello! This is a Sendgrid test email from Node.js on Google Cloud Platform.' ,
3736 } ) ;
3837 } ,
3938 } ,
You can’t perform that action at this time.
0 commit comments