Skip to content

Commit

Permalink
Fix Enumeration to Iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcardell committed Jan 11, 2023
1 parent e0a7d82 commit 1db47ae
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ trait TestData {
def getCollector(reg: CollectorRegistry[IO], name: String) =
IO(CollectorRegistry.Unsafe.asJava(reg))
.map(_.metricFamilySamples())
.map(_.asIterator())
.map(_.asScala.toList)
.map(_.find(_.name == s"bucky_$name"))
.flatMap(
Expand Down

0 comments on commit 1db47ae

Please sign in to comment.