Skip to content

Commit

Permalink
fixed indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanCutler committed Dec 15, 2015
1 parent 75923d8 commit 90402d7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/src/main/scala/org/apache/spark/deploy/master/Master.scala
Original file line number Diff line number Diff line change
Expand Up @@ -944,11 +944,11 @@ private[deploy] class Master(
val appName = app.desc.name
val notFoundBasePath = HistoryServer.UI_PATH_PREFIX + "/not-found"
val eventLogDir = app.desc.eventLogDir
.getOrElse {
// Event logging is disabled for this application
app.appUIUrlAtHistoryServer = Some(notFoundBasePath)
return Future.successful(None)
}
.getOrElse {
// Event logging is disabled for this application
app.appUIUrlAtHistoryServer = Some(notFoundBasePath)
return Future.successful(None)
}
val futureUI = Future {
val eventLogFilePrefix = EventLoggingListener.getLogPath(
eventLogDir, app.id, appAttemptId = None, compressionCodecName = app.desc.eventLogCodec)
Expand Down

0 comments on commit 90402d7

Please sign in to comment.