Skip to content

Commit

Permalink
#389 Fix compilation for Scala 2.13.
Browse files Browse the repository at this point in the history
  • Loading branch information
yruslan committed Apr 5, 2024
1 parent 697a9d8 commit a522924
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ class PipelineNotificationBuilderHtml(implicit conf: Config) extends PipelineNot

private[core] def getSparkApplicationIds: Seq[String] = {
sparkAppId match {
case Some(appId) => (appId +: completedTasks.map(_.applicationId.trim).filter(_.nonEmpty)).distinct
case None => completedTasks.map(_.applicationId.trim).filter(_.nonEmpty).distinct
case Some(appId) => (appId +: completedTasks.map(_.applicationId.trim).filter(_.nonEmpty)).distinct.toSeq
case None => completedTasks.map(_.applicationId.trim).filter(_.nonEmpty).distinct.toSeq
}
}

Expand Down

0 comments on commit a522924

Please sign in to comment.