Skip to content

Commit

Permalink
#431 Ignore error during docker image update
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Oct 5, 2022
1 parent 4b10e2b commit e925976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/org/thp/cortex/services/DockerJobRunnerSrv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class DockerJobRunnerSrv(
ec: ExecutionContext
): Try[Unit] = {
import scala.collection.JavaConverters._
if (autoUpdate) client.pull(dockerImage)
if (autoUpdate) Try(client.pull(dockerImage))
// ContainerConfig.builder().addVolume()
val hostConfigBuilder = HostConfig.builder()
config.getOptional[Seq[String]]("docker.container.capAdd").map(_.asJava).foreach(hostConfigBuilder.capAdd)
Expand Down

0 comments on commit e925976

Please sign in to comment.