Skip to content

Commit 94e9df4

Browse files
Benjamin E. Coegrayside
authored andcommitted
fix(samples): region tag collided with tasks-api (#476)
1 parent b148833 commit 94e9df4

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

cloud-tasks/createTask.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ function main(
3030
inSeconds = 0 // Delay in task execution
3131
) {
3232
// [START cloud_tasks_appengine_create_task]
33-
// [START tasks_quickstart]
3433
// Imports the Google Cloud Tasks library.
3534
const {CloudTasksClient} = require('@google-cloud/tasks');
3635

@@ -75,7 +74,6 @@ function main(
7574
}
7675
createTask();
7776
// [END cloud_tasks_appengine_create_task]
78-
// [END tasks_quickstart]
7977
}
8078

8179
process.on('unhandledRejection', err => {

cloud-tasks/quickstart.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Create a task for a given queue with an arbitrary payload.
1919
*/
2020
function main(project, location, queue, payload, inSeconds) {
21-
// [START tasks_quickstart]
21+
// [START cloud_tasks_quickstart]
2222
// Imports the Google Cloud Tasks library.
2323
const {CloudTasksClient} = require('@google-cloud/tasks');
2424

@@ -65,7 +65,7 @@ function main(project, location, queue, payload, inSeconds) {
6565
console.log(`Created task ${name}`);
6666
}
6767
quickstart();
68-
// [END tasks_quickstart]
68+
// [END cloud_tasks_quickstart]
6969
}
7070

7171
process.on('unhandledRejection', err => {

0 commit comments

Comments
 (0)