Skip to content

Commit

Permalink
Merge pull request #2565 from http4s/metricsOpsStrongContraint
Browse files Browse the repository at this point in the history
Massively too Strict a Constraint
  • Loading branch information
aeons committed May 13, 2019
2 parents 672dc6a + 0ab99af commit 82cadf2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -39,7 +39,7 @@ object Metrics {
classifierF: Request[F] => Option[String] = { _: Request[F] =>
None
}
)(routes: HttpRoutes[F])(implicit F: Effect[F], clock: Clock[F]): HttpRoutes[F] =
)(routes: HttpRoutes[F])(implicit F: Sync[F], clock: Clock[F]): HttpRoutes[F] =
Kleisli(
metricsService[F](ops, routes, emptyResponseHandler, errorResponseHandler, classifierF)(_))

Expand Down

0 comments on commit 82cadf2

Please sign in to comment.