Skip to content

Commit 94fbafa

Browse files
pieternIsaac
andcommitted
Drop internal reference from testserver comment
Co-authored-by: Isaac <[email protected]>
1 parent 8ffd214 commit 94fbafa

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎libs/testserver/jobs.go‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ func validateJobGitSource(gitSource *jobs.GitSource) *Response {
8181
// validateSparkPythonTasks mirrors the Jobs API validation of
8282
// spark_python_task.python_file. The backend only treats a task as git-sourced
8383
// when source == GIT is set explicitly (it does not infer it from the job's
84-
// git_source), so a bare repo-relative python_file is rejected unless source is
85-
// GIT. See ElasticSparkRpcValidatorHook.validateSparkPythonTask /
86-
// validatePythonFilePath in the universe repo.
84+
// git_source), so a bare repo-relative python_file is rejected unless the
85+
// task's source is GIT.
8786
func validateSparkPythonTasks(tasks []jobs.Task) *Response {
8887
for _, task := range tasks {
8988
if response := validateSparkPythonTask(task.SparkPythonTask); response != nil {

0 commit comments

Comments
 (0)