Skip to content

Commit

Permalink
Fix Py file env var (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
regadas authored Feb 21, 2022
1 parent d8b3bf9 commit 7090786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/flinkcluster/flinkcluster_converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ func getDesiredJob(observed *ObservedClusterState) *batchv1.Job {

if jobSpec.PyFile != nil {
jobArgs = append(jobArgs, "--python", getLocalPath(*jobSpec.PyFile))
envVars = addEnvVar(envVars, jobJarUriEnvVar, *jobSpec.PyFile)
envVars = addEnvVar(envVars, jobPyFileUriEnvVar, *jobSpec.PyFile)
if isRemoteFile(*jobSpec.PyFile) {
volumes = addUsrLibVolume(volumes)
volumeMounts = addUsrLibVolumeMount(volumeMounts)
Expand Down

0 comments on commit 7090786

Please sign in to comment.