Skip to content

Commit 1b6ae78

Browse files
committed
Fix doc typos
1 parent 165e10a commit 1b6ae78

5 files changed

+6
-6
lines changed

batch/create/create_with_container_no_mounting.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function main(projectId, region, jobName) {
8989
job.taskGroups = [group];
9090
job.allocationPolicy = allocationPolicy;
9191
job.labels = {env: 'testing', type: 'container'};
92-
// We use Cloud Logging as it's an out option available out of the box
92+
// We use Cloud Logging as it's an option available out of the box
9393
job.logsPolicy = new batch.LogsPolicy();
9494
job.logsPolicy.destination = batch.LogsPolicy.Destination.CLOUD_LOGGING;
9595

batch/create/create_with_mounted_bucket.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function main(projectId, region, jobName, bucketName) {
101101
job.taskGroups = [group];
102102
job.allocationPolicy = allocationPolicy;
103103
job.labels = {env: 'testing', type: 'script'};
104-
// We use Cloud Logging as it's an out option available out of the box
104+
// We use Cloud Logging as it's an option available out of the box
105105
job.logsPolicy = new batch.LogsPolicy();
106106
job.logsPolicy.destination = batch.LogsPolicy.Destination.CLOUD_LOGGING;
107107

batch/create/create_with_script_no_mounting.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function main(projectId, region, jobName) {
8989
job.taskGroups = [group];
9090
job.allocationPolicy = allocationPolicy;
9191
job.labels = {env: 'testing', type: 'script'};
92-
// We use Cloud Logging as it's an out option available out of the box
92+
// We use Cloud Logging as it's an option available out of the box
9393
job.logsPolicy = new batch.LogsPolicy();
9494
job.logsPolicy.destination = batch.LogsPolicy.Destination.CLOUD_LOGGING;
9595

batch/get/get_task.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ function main(projectId, region, jobName, groupName, taskNumber) {
4242
*/
4343
// const jobName = 'YOUR_JOB_NAME';
4444
/**
45-
* the name of the group that owns the task you want to check.
45+
* The name of the group that owns the task you want to check.
4646
* Usually it's `group0`.
4747
*/
4848
// const groupName = 'group0';
4949
/**
50-
* number of the task you want to look up.
50+
* The number of the task you want to look up.
5151
*/
5252
// const taskNumber = 0;
5353

batch/test/advanced_creation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ describe('Create jobs with container, template and bucket', () => {
7070
);
7171
});
7272

73-
// waiting for jobs to succed in separate tests lets us create them all on the server and let them run in parallel,
73+
// waiting for jobs to succeed in separate tests lets us create them all on the server and let them run in parallel,
7474
// so the tests complete multiple times faster
7575

7676
it('wait for a job with a GCS bucket to succeed', async () => {

0 commit comments

Comments
 (0)