func GetUpdateAccessService(e *v1alpha1.EtcdCluster, old *corev1.Service) (*corev1.Service, error) {
	updated := old.DeepCopy()
	if err := applyAccessService(e, updated); err != nil {
		return nil, err
	}
	return updated, nil
}
// GetUpdateAccessService return an updated service when etcdcluster's service need to update
GetUpdateAccessService return an updated service when etcdcluster's service need to update
// GetUpdateAccessService return an updated service when etcdcluster ' s service need to update
func GetUpdateAccessService(e *v1alpha1.EtcdCluster, old *corev1.Service) (*corev1.Service, error) {
	updated := old.DeepCopy()
	if err := applyAccessService(e, updated); err != nil {
		return nil, err
	}
	return updated, nil
}
func GetUpdateAccessService ( e * v1alpha1 . EtcdCluster , old * corev1 . Service ) ( * corev1 . Service , error ) { updated := old . DeepCopy ( ) if err := applyAccessService ( e , updated ) ; err != nil { return nil , err } return updated , nil }
GetUpdateAccessService return an updated service when etcdcluster's service need to update
GetUpdateAccessService return an updated service when etcdcluster ' s service need to update