Skip to content

Commit

Permalink
chore(samples): fix function name (#694)
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 77b860b commit 7eb38ac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function main(projectId, zone, instanceName, customImageLink) {
const compute = require('@google-cloud/compute');

// Creates a new VM instance with custom image used as its boot disk.
async function createInstanceFromSnapshot() {
async function createInstanceFromCustomImage() {
const instancesClient = new compute.InstancesClient();

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

createInstanceFromSnapshot();
createInstanceFromCustomImage();
// [END compute_instances_create_from_custom_image]
}

Expand Down

0 comments on commit 7eb38ac

Please sign in to comment.