diff --git a/ray-operator/controllers/ray/common/job.go b/ray-operator/controllers/ray/common/job.go index 809dc142b21..b47421bade1 100644 --- a/ray-operator/controllers/ray/common/job.go +++ b/ray-operator/controllers/ray/common/job.go @@ -116,7 +116,6 @@ func GetK8sJobCommand(rayJobInstance *rayv1.RayJob) ([]string, error) { } // "--" is used to separate the entrypoint from the Ray Job CLI command and its arguments. - entrypoint = strings.ReplaceAll(entrypoint, ";", "\\;") k8sJobCommand = append(k8sJobCommand, "--", entrypoint, ";", "fi", ";") k8sJobCommand = append(k8sJobCommand, jobFollowCommand...)