Skip to content

Commit

Permalink
Properly wrap getOrElse in a tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
mccheah committed Aug 23, 2017
1 parent f7b5820 commit a7f7176
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ private[spark] class KubernetesClusterSchedulerBackend(
mountSmallFilesBootstrap.map { bootstrap =>
bootstrap.mountSmallFilesSecret(
withMaybeShuffleConfigPod, withMaybeShuffleConfigExecutorContainer)
}.getOrElse(withMaybeShuffleConfigPod, withMaybeShuffleConfigExecutorContainer)
}.getOrElse((withMaybeShuffleConfigPod, withMaybeShuffleConfigExecutorContainer))
val (executorPodWithInitContainer, initBootstrappedExecutorContainer) =
executorInitContainerBootstrap.map { bootstrap =>
val podWithDetachedInitContainer = bootstrap.bootstrapInitContainerAndVolumes(
Expand Down

0 comments on commit a7f7176

Please sign in to comment.