Skip to content

Commit

Permalink
remove unnecessary checking
Browse files Browse the repository at this point in the history
  • Loading branch information
hoyhbx committed Aug 3, 2022
1 parent a611f10 commit b5ca120
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/apis/pingcap/v1alpha1/tidbcluster_component.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ func (a *componentAccessorImpl) PodManagementPolicy() apps.PodManagementPolicyTy
// unified podManagementPolicy check to avoid check everywhere
if policy == apps.OrderedReadyPodManagement {
return apps.OrderedReadyPodManagement
} else if policy == apps.ParallelPodManagement {
return apps.ParallelPodManagement
}
return apps.ParallelPodManagement
}
Expand Down

0 comments on commit b5ca120

Please sign in to comment.