Skip to content

Commit

Permalink
fix(samples): region tag collided with tasks-api (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe authored Oct 21, 2020
1 parent acb9c06 commit 3dfac09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions cloud-tasks/createTask.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ function main(
inSeconds = 0 // Delay in task execution
) {
// [START cloud_tasks_appengine_create_task]
// [START tasks_quickstart]
// Imports the Google Cloud Tasks library.
const {CloudTasksClient} = require('@google-cloud/tasks');

Expand Down Expand Up @@ -75,7 +74,6 @@ function main(
}
createTask();
// [END cloud_tasks_appengine_create_task]
// [END tasks_quickstart]
}

process.on('unhandledRejection', err => {
Expand Down
4 changes: 2 additions & 2 deletions cloud-tasks/quickstart.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Create a task for a given queue with an arbitrary payload.
*/
function main(project, location, queue, payload, inSeconds) {
// [START tasks_quickstart]
// [START cloud_tasks_quickstart]
// Imports the Google Cloud Tasks library.
const {CloudTasksClient} = require('@google-cloud/tasks');

Expand Down Expand Up @@ -65,7 +65,7 @@ function main(project, location, queue, payload, inSeconds) {
console.log(`Created task ${name}`);
}
quickstart();
// [END tasks_quickstart]
// [END cloud_tasks_quickstart]
}

process.on('unhandledRejection', err => {
Expand Down

0 comments on commit 3dfac09

Please sign in to comment.