Skip to content

Commit

Permalink
fix(CollaSet): correct review issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wu8685 committed Aug 21, 2023
1 parent a33e245 commit 5285ece
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/controllers/collaset/synccontrol/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,6 @@ func (u *InPlaceIfPossibleUpdater) GetPodUpdateFinishStatus(pod *PodUpdateInfo)
return true, false, "no container status", nil
}

if pod.Spec.Containers == nil {
return true, false, "no container spec", nil
}

if len(pod.Spec.Containers) != len(pod.Status.ContainerStatuses) {
return true, false, "container status number does not match", nil
}
Expand Down

0 comments on commit 5285ece

Please sign in to comment.