Skip to content

Commit

Permalink
[Chore][RayJob] Remove the TODO of verifying the schema of RayJobInfo…
Browse files Browse the repository at this point in the history
… because it is already correct (ray-project#1911)
  • Loading branch information
rueian authored Feb 8, 2024
1 parent 8b6b0d6 commit ca7db14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ray-operator/controllers/ray/utils/dashboard_httpclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ type RuntimeEnvType map[string]interface{}

// RayJobInfo is the response of "ray job status" api.
// Reference to https://docs.ray.io/en/latest/cluster/running-applications/job-submission/rest.html#ray-job-rest-api-spec
// Reference to https://github.com/ray-project/ray/blob/cfbf98c315cfb2710c56039a3c96477d196de049/dashboard/modules/job/pydantic_models.py#L38-L107
type RayJobInfo struct {
// TODO (kevin85421): Double check whether the types are correct or not.
JobStatus rayv1.JobStatus `json:"status,omitempty"`
Entrypoint string `json:"entrypoint,omitempty"`
JobId string `json:"job_id,omitempty"`
Expand Down

0 comments on commit ca7db14

Please sign in to comment.