Skip to content

Commit

Permalink
missed file
Browse files Browse the repository at this point in the history
  • Loading branch information
THWiseman committed Nov 7, 2023
1 parent a62307a commit e7cd74c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -663,12 +663,12 @@ class GcpBatchAsyncBackendJobExecutionActor(override val standardParams: Standar
private val DockerMonitoringLogPath: Path = GcpBatchWorkingDisk.MountPoint.resolve(gcpBatchCallPaths.batchMonitoringLogFilename)
private val DockerMonitoringScriptPath: Path = GcpBatchWorkingDisk.MountPoint.resolve(gcpBatchCallPaths.batchMonitoringScriptFilename)

override def scriptPreamble: String = {
override def scriptPreamble: ErrorOr[String] = {
if (monitoringOutput.isDefined) {
s"""|touch $DockerMonitoringLogPath
|chmod u+x $DockerMonitoringScriptPath
|$DockerMonitoringScriptPath > $DockerMonitoringLogPath &""".stripMargin
} else ""
|$DockerMonitoringScriptPath > $DockerMonitoringLogPath &""".stripMargin.valid
} else "".valid

Check warning on line 671 in supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/actors/GcpBatchAsyncBackendJobExecutionActor.scala

View check run for this annotation

Codecov / codecov/patch

supportedBackends/google/batch/src/main/scala/cromwell/backend/google/batch/actors/GcpBatchAsyncBackendJobExecutionActor.scala#L670-L671

Added lines #L670 - L671 were not covered by tests
}

private[actors] def generateInputs(jobDescriptor: BackendJobDescriptor): Set[GcpBatchInput] = {
Expand Down

0 comments on commit e7cd74c

Please sign in to comment.