Skip to content

Commit b2ef454

Browse files
committed
BDOG-3289 update testJobMap filter for service page
1 parent 75026ed commit b2ef454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/uk/gov/hmrc/cataloguefrontend/CatalogueController.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class CatalogueController @Inject() (
153153
testJobMap <- testRepos.foldLeftM[Future, Map[String, Seq[JenkinsJob]]](Map.empty): (xs, r) =>
154154
teamsAndRepositoriesConnector
155155
.lookupLatestJenkinsJobs(r)
156-
.map(x => xs ++ Map(r -> x.filter(_.jobType == BuildJobType.Job)))
156+
.map(x => xs ++ Map(r -> x.filter(_.jobType == BuildJobType.Test)))
157157
logMetrics <- serviceMetricsConnector.logMetrics(serviceName)
158158
envDatas <- Environment.values.toSeq
159159
.traverse: env =>

0 commit comments

Comments
 (0)