Skip to content

Commit

Permalink
Scalastyle fixes (apache#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
ash211 authored May 17, 2017
1 parent f005268 commit e071ad9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ private[spark] class KubernetesTestComponents(defaultClient: DefaultKubernetesCl
val trustManager = SSLUtils.trustManagers(kubernetesConf)(0).asInstanceOf[X509TrustManager]
HttpClientUtil.createClient[T](Set(url), 5, sslContext.getSocketFactory, trustManager)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ import org.apache.spark.util.Utils

object ProcessUtils extends Logging {
/**
* executeProcess is used to run a command and return the output if it
* completes within timeout seconds.
*/
* executeProcess is used to run a command and return the output if it
* completes within timeout seconds.
*/
def executeProcess(fullCommand: Array[String], timeout: Long): Seq[String] = {
val pb = new ProcessBuilder().command(fullCommand: _*)
pb.redirectErrorStream(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ package org.apache.spark.deploy.kubernetes.integrationtest
package object constants {
val MINIKUBE_TEST_BACKEND = "minikube"
val GCE_TEST_BACKEND = "gce"
}
}

0 comments on commit e071ad9

Please sign in to comment.