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 Feb 24, 2022
1 parent 96cdf2d commit c11cc67
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 c11cc67

Please sign in to comment.