def eolStatusString()

in app/models/BaseImage.scala [138:148]


  def eolStatusString(image: BaseImage): String = {
    val eolDateString =
      image.eolDate.map(_.toString("dd/MM/yyyy")).getOrElse("unknown")
    eolStatus(image) match {
      case EndOfLife =>
        s"WARNING: Base image no longer supported. Support ended on ${eolDateString}"
      case EndOfLifeSoon =>
        s"WARNING: Base image end of life on ${eolDateString}"
      case Supported => s"Base image supported until ${eolDateString}"
    }
  }