File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments