Skip to content

Commit 539988c

Browse files
committed
Make filterSystemEnvironment method protected
1 parent 0382675 commit 539988c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/deploy/rest/RestSubmissionClient.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ private[spark] object RestSubmissionClient {
419419
/**
420420
* Filter non-spark environment variables from any environment.
421421
*/
422-
def filterSystemEnvironment(env: Map[String, String]): Map[String, String] = {
422+
protected[rest] def filterSystemEnvironment(env: Map[String, String]): Map[String, String] = {
423423
env.filter { case (k, _) =>
424424
(k.startsWith("SPARK_") && k != "SPARK_ENV_LOADED") || k.startsWith("MESOS_")
425425
}

0 commit comments

Comments
 (0)