Skip to content

Commit 0bc0e91

Browse files
committed
[SPARK-32971][K8S][FOLLOWUP] Add .toSeq for Scala 2.13 compilation
### What changes were proposed in this pull request? This is a follow-up to fix Scala 2.13 compilation at Kubernetes module. ### Why are the changes needed? To fix Scala 2.13 compilation. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the GitHub Action Scala 2.13 compilation job. Closes #29859 from dongjoon-hyun/SPARK-32971-2. Authored-by: Dongjoon Hyun <dhyun@apple.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
1 parent b3f0087 commit 0bc0e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ private[spark] class MountVolumesFeatureStep(conf: KubernetesConf)
114114
}
115115

116116
override def getAdditionalKubernetesResources(): Seq[HasMetadata] = {
117-
additionalResources
117+
additionalResources.toSeq
118118
}
119119
}
120120

0 commit comments

Comments
 (0)