Skip to content

Commit 90865f6

Browse files
committed
lint fix
1 parent 68a9062 commit 90865f6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

batch/snippets/src/main/java/CreateWithMountedBucket.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ public static void createScriptJobWithBucket(String projectId, String region, St
7474
.setScript(
7575
Script.newBuilder()
7676
.setText(
77-
"echo Hello world from task ${BATCH_TASK_INDEX}. >> /mnt/share/output_task_${BATCH_TASK_INDEX}.txt")
77+
"echo Hello world from task ${BATCH_TASK_INDEX}. >> "
78+
+ "/mnt/share/output_task_${BATCH_TASK_INDEX}.txt")
7879
// You can also run a script from a file. Just remember, that needs to be a
7980
// script that's already on the VM that will be running the job.
8081
// Using setText() and setPath() is mutually exclusive.

batch/snippets/src/main/java/CreateWithTemplate.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ public static void main(String[] args)
5050

5151
// A link to an existing Instance Template. Acceptable formats:
5252
// * "projects/{projectId}/global/instanceTemplates/{templateName}"
53-
// * "{templateName}" - if the template is defined in the same project as used to create the Job.
53+
// * "{templateName}" - if the template is defined in the same project
54+
// as used to create the Job.
5455
String templateLink = "TEMPLATE_LINK";
5556

5657
createWithTemplate(projectId, region, jobName, templateLink);

0 commit comments

Comments
 (0)