in src/main/kotlin/jetbrains/buildServer/notification/slackNotifier/healthReport/SlackConnectionHealthReport.kt [31:45]
override fun report(scope: HealthStatusScope, consumer: HealthStatusItemConsumer) {
for (project in scope.projects) {
val connections = oAuthConnectionsManager.getAvailableConnectionsOfType(
project,
SlackConnection.type
)
for (connection in connections) {
if (connection.project != project) {
continue
}
report(connection, consumer, project)
}
}
}