func newDnsimpleChanges(action string, endpoints []*endpoint.Endpoint) []*dnsimpleChange {
	changes := make([]*dnsimpleChange, 0, len(endpoints))
	for _, e := range endpoints {
		changes = append(changes, newDnsimpleChange(action, e))
	}
	return changes
}
func newDnsimpleChanges(action string, endpoints []*endpoint.Endpoint) []*dnsimpleChange {
	changes := make([]*dnsimpleChange, 0, len(endpoints))
	for _, e := range endpoints {
		changes = append(changes, newDnsimpleChange(action, e))
	}
	return changes
}
func newDnsimpleChanges ( action string , endpoints [ ] * endpoint . Endpoint ) [ ] * dnsimpleChange { changes := make ( [ ] * dnsimpleChange , 0 , len ( endpoints ) ) for _ , e := range endpoints { changes = append ( changes , newDnsimpleChange ( action , e ) ) } return changes }
// newDnsimpleChanges returns a slice of changes based on given action and record
newDnsimpleChanges returns a slice of changes based on given action and record