Back to Frontend

TroubleshooterResults.Scala

admin/app/views/troubleshooterResults.scala.html

latest723 B
Original Source

@(loadbalancer: Option[tools.LoadBalancer], results: Seq[controllers.admin.EndpointStatus])(implicit request: RequestHeader, context: model.ApplicationContext) @admin_main("Troubleshooting results", isAuthed = true) {

@loadbalancer.map(lb => s"${lb.name} (${lb.project})").getOrElse("Unknown loadbalancer")

Failures are in order - the cause of the error will most likely be at the level of the first failure

StatusTestDebug
@results.map{ result =>@if(result.isOk){ OK } else { FAILED }@result.name
@result.messages.map{ msg => - @msg
}
}
}
Troubleshoot something else }