// GetPodList todo: Do not list pods already deleted - by hxx
GetPodList todo: Do not list pods already deleted - by hxx
// GetPodList todo : Do not list pods already deleted - by hxx
func (d *DuplicateDeploymentController) GetPodList() ([]corev1.Pod, error) {
	labelsMap, err := d.getDuplicateLabelsMap()
	if err != nil {
		return nil, err
	}
	return d.Client.Labels(labelsMap).ListPods()
}
func ( d * DuplicateDeploymentController ) GetPodList ( ) ( [ ] corev1 . Pod , error ) { labelsMap , err := d . getDuplicateLabelsMap ( ) if err != nil { return nil , err } return d . Client . Labels ( labelsMap ) . ListPods ( ) }
GetPodList todo: Do not list pods already deleted - by hxx
GetPodList todo : Do not list pods already deleted - by hxx