Skip to content

Commit

Permalink
scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Sep 23, 2024
1 parent aefba17 commit 8e5a615
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ import scala.util.Try

object EurekaServiceDiscovery {
private[eureka] def pick(
instances: immutable.Seq[EurekaResponse.Instance], group: String): Future[immutable.Seq[EurekaResponse.Instance]] = {
instances: immutable.Seq[EurekaResponse.Instance], group: String)
: Future[immutable.Seq[EurekaResponse.Instance]] = {
Future.successful(instances.collect {
case instance if instance.status == "UP" && instance.appGroupName == group => instance
})
Expand Down

0 comments on commit 8e5a615

Please sign in to comment.