Skip to content

Commit

Permalink
Change error msg for ray job submit when waiting for cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
chiayi committed Jan 17, 2025
1 parent 937297c commit c03b2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubectl-plugin/pkg/cmd/job/job_submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ func (options *SubmitJobOptions) Run(ctx context.Context, factory cmdutil.Factor
}
clusterReady = isRayClusterReady(currCluster)
if !clusterReady {
err = fmt.Errorf("Cluster is not ready: %w", err)
err = fmt.Errorf("Cluster is not ready")
fmt.Println(err)
}
currTime = time.Now()
Expand Down

0 comments on commit c03b2a6

Please sign in to comment.