From 8ec1acb78332751810f279ca4c8031d529a6ec0a Mon Sep 17 00:00:00 2001 From: Ce Gao Date: Sun, 31 Jan 2021 10:48:53 +0800 Subject: [PATCH] feat: Change the message for running condition (#1230) Signed-off-by: cegao --- pkg/controller.v1/tensorflow/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller.v1/tensorflow/status.go b/pkg/controller.v1/tensorflow/status.go index a5ea99d4d7..90909d3078 100644 --- a/pkg/controller.v1/tensorflow/status.go +++ b/pkg/controller.v1/tensorflow/status.go @@ -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 {