Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
cindy-peng committed Apr 17, 2024
1 parent 3afdae6 commit 291d892
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ private String getCloudRunJobExecutionName() {
private String getCloudRunJobTaskIndex() {
return getter.getEnv("CLOUD_RUN_TASK_INDEX");
}

private String getCloudRunJobTaskAttempt() {
return getter.getEnv("CLOUD_RUN_TASK_ATTEMPT");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,10 @@ private static List<LoggingEnhancer> createEnhancers(Resource resourceType) {
enhancers.add(
new LabelLoggingEnhancer(
CLOUD_RUN_JOB_LABEL_PREFIX,
ImmutableList.of(Label.CloudRunJobExecutionName, Label.CloudRunJobTaskIndex, Label.CloudRunJobTaskAttempt)));
ImmutableList.of(
Label.CloudRunJobExecutionName,
Label.CloudRunJobTaskIndex,
Label.CloudRunJobTaskAttempt)));
}
return enhancers;
}
Expand Down

0 comments on commit 291d892

Please sign in to comment.