Skip to content

Commit

Permalink
feat: Change the message for running condition (#1230)
Browse files Browse the repository at this point in the history
Signed-off-by: cegao <[email protected]>
  • Loading branch information
gaocegege authored Jan 31, 2021
1 parent 9741c0c commit 8ec1acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller.v1/tensorflow/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (tc *TFController) UpdateJobStatus(job interface{}, replicas map[commonv1.R
tfJobsSuccessCount.Inc()
} else if running > 0 {
// Some workers are still running, leave a running condition.
msg := fmt.Sprintf("TFJob %s/%s successfully completed.",
msg := fmt.Sprintf("TFJob %s/%s is running.",
tfJob.Namespace, tfJob.Name)
err := commonutil.UpdateJobConditions(jobStatus, commonv1.JobRunning, tfJobRunningReason, msg)
if err != nil {
Expand Down

0 comments on commit 8ec1acb

Please sign in to comment.