Skip to content

Commit c11cc67

Browse files
authored
chore(samples): fix function name (#694)
1 parent 96cdf2d commit c11cc67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compute/instances/create-start-instance/createInstanceFromCustomImage.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function main(projectId, zone, instanceName, customImageLink) {
3434
const compute = require('@google-cloud/compute');
3535

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

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

80-
createInstanceFromSnapshot();
80+
createInstanceFromCustomImage();
8181
// [END compute_instances_create_from_custom_image]
8282
}
8383

0 commit comments

Comments
 (0)