Browse Source

#1654

update
tags/v1.22.3.2^2
chenyifan01 3 years ago
parent
commit
594b059a73
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/cloudbrain.go

+ 1
- 1
models/cloudbrain.go View File

@@ -1395,7 +1395,7 @@ func UpdateTrainJobVersion(job *Cloudbrain) error {
func updateJobTrainVersion(e Engine, job *Cloudbrain) error {
var sess *xorm.Session
sess = e.Where("job_id = ? AND version_name=?", job.JobID, job.VersionName)
_, err := sess.Cols("status", "train_job_duration").Update(job)
_, err := sess.Cols("status", "train_job_duration", "start_time", "end_time").Update(job)
return err
}



Loading…
Cancel
Save