Skip to content

Commit 6f6442f

Browse files
committed
[SPARK-25222][K8S] Fix scalastyle for utils methods
1 parent 355e66d commit 6f6442f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/KubernetesUtils.scala

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ private[spark] object KubernetesUtils {
6565

6666
def parseMasterUrl(url: String): String = url.substring("k8s://".length)
6767

68-
def formatPairsBundle(pairs: Seq[(String, String)], indent: Int = 1) = {
68+
def formatPairsBundle(pairs: Seq[(String, String)], indent: Int = 1) : String = {
6969
// Use more loggable format if value is null or empty
7070
val indentStr = "\t" * indent
7171
pairs.map {
@@ -74,10 +74,11 @@ private[spark] object KubernetesUtils {
7474
}
7575

7676
/**
77-
* Given a pod, output a human readable representation of its state
78-
* @param pod Pod
79-
* @return Human readable pod state
80-
*/
77+
* Given a pod, output a human readable representation of its state
78+
*
79+
* @param pod Pod
80+
* @return Human readable pod state
81+
*/
8182
def formatPodState(pod: Pod): String = {
8283
val details = Seq[(String, String)](
8384
// pod metadata

0 commit comments

Comments
 (0)