Skip to content

Commit

Permalink
Merge pull request #1843 from haiker2011/master
Browse files Browse the repository at this point in the history
Fix delete duplicate line.
  • Loading branch information
volcano-sh-bot authored Nov 22, 2021
2 parents bf0df8b + 5d79747 commit 55fb8c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/controllers/job/job_controller_actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,6 @@ func (cc *jobcontroller) initJobStatus(job *batch.Job) (*batch.Job, error) {
return job, nil
}

job.Status.State.LastTransitionTime = metav1.Now()
job.Status.State.Phase = batch.Pending
job.Status.State.LastTransitionTime = metav1.Now()
job.Status.MinAvailable = job.Spec.MinAvailable
Expand Down

0 comments on commit 55fb8c2

Please sign in to comment.