Skip to content

Commit

Permalink
chore(samples): fix function name (#719)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrodoTheTrue authored and Ace Nassri committed Nov 21, 2022
1 parent 488a48f commit d2f1e17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function main(

const compute = require('@google-cloud/compute');

async function createWndowsServerInstanceExpernalIP() {
async function createWindowsServerInstanceExpernalIP() {
const instancesClient = new compute.InstancesClient();

const [response] = await instancesClient.insert({
Expand Down Expand Up @@ -102,7 +102,7 @@ function main(
console.log('Instance created.');
}

createWndowsServerInstanceExpernalIP();
createWindowsServerInstanceExpernalIP();
// [END compute_create_windows_instance_external_ip]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function main(

const compute = require('@google-cloud/compute');

async function createWndowsServerInstanceExpernalIP() {
async function createWindowsServerInstanceInternalIP() {
const instancesClient = new compute.InstancesClient();

const [response] = await instancesClient.insert({
Expand Down Expand Up @@ -112,7 +112,7 @@ function main(
console.log('Instance created.');
}

createWndowsServerInstanceExpernalIP();
createWindowsServerInstanceInternalIP();
// [END compute_create_windows_instance_internal_ip]
}

Expand Down

0 comments on commit d2f1e17

Please sign in to comment.