Skip to content

Commit

Permalink
fix UT
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <lance6716@gmail.com>
  • Loading branch information
lance6716 committed Nov 21, 2022
1 parent 3e9a9a6 commit 47759cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/jobmaster/dm/metadata/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ func (jobStore *JobStore) UpdateConfig(ctx context.Context, jobCfg *config.JobCf
// task stage will not be updated.
if oldTask, ok := oldJob.Tasks[taskID]; ok {
newTask.Stage = oldTask.Stage
newTask.StageUpdatedTime = oldTask.StageUpdatedTime
}
}

Expand Down

0 comments on commit 47759cd

Please sign in to comment.