srowen commented on a change in pull request #35567:
URL: https://github.com/apache/spark/pull/35567#discussion_r809971049



##########
File path: 
core/src/main/scala/org/apache/spark/deploy/history/HistoryAppStatusStore.scala
##########
@@ -45,20 +45,20 @@ private[spark] class HistoryAppStatusStore(
   override def executorList(activeOnly: Boolean): Seq[v1.ExecutorSummary] = {
     val execList = super.executorList(activeOnly)
     logUrlPattern match {
-      case Some(pattern) => execList.map(replaceLogUrls(_, pattern))
+      case Some(_) => execList.map(replaceLogUrls)
       case None => execList
     }
   }
 
   override def executorSummary(executorId: String): v1.ExecutorSummary = {
     val execSummary = super.executorSummary(executorId)
     logUrlPattern match {
-      case Some(pattern) => replaceLogUrls(execSummary, pattern)
+      case Some(_) => replaceLogUrls(execSummary)

Review comment:
       This is fine though could simplify to a condition on 
logUrlPattern.nonEmpty or something




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to