Skip to content

Commit 7090786

Browse files
authored
Fix Py file env var (#278)
1 parent d8b3bf9 commit 7090786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/flinkcluster/flinkcluster_converter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ func getDesiredJob(observed *ObservedClusterState) *batchv1.Job {
724724

725725
if jobSpec.PyFile != nil {
726726
jobArgs = append(jobArgs, "--python", getLocalPath(*jobSpec.PyFile))
727-
envVars = addEnvVar(envVars, jobJarUriEnvVar, *jobSpec.PyFile)
727+
envVars = addEnvVar(envVars, jobPyFileUriEnvVar, *jobSpec.PyFile)
728728
if isRemoteFile(*jobSpec.PyFile) {
729729
volumes = addUsrLibVolume(volumes)
730730
volumeMounts = addUsrLibVolumeMount(volumeMounts)

0 commit comments

Comments
 (0)