Skip to content

Commit

Permalink
[SPARK-32971][K8S][FOLLOWUP] Add .toSeq for Scala 2.13 compilation
Browse files Browse the repository at this point in the history
### 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 apache#29859 from dongjoon-hyun/SPARK-32971-2.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
  • Loading branch information
dongjoon-hyun committed Sep 24, 2020
1 parent b3f0087 commit 0bc0e91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private[spark] class MountVolumesFeatureStep(conf: KubernetesConf)
}

override def getAdditionalKubernetesResources(): Seq[HasMetadata] = {
additionalResources
additionalResources.toSeq
}
}

Expand Down

0 comments on commit 0bc0e91

Please sign in to comment.