Skip to content

Commit

Permalink
Update internal/controller/dnsrecord_healthchecks.go
Browse files Browse the repository at this point in the history
  • Loading branch information
maleck13 authored Oct 30, 2024
1 parent b38e2a9 commit e26c080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/dnsrecord_healthchecks.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (r *DNSRecordReconciler) ensureProbe(ctx context.Context, generated *v1alph
//
// If this leads to an empty array of endpoints it:
// - Does nothing (prevents NXDomain response) if we already published
// - Returns empty array of nothing is published (prevent from publishing unhealthy EPs)
// - Returns empty array if nothing is published (prevent from publishing unhealthy EPs)
//
// it returns the list of healthy endpoints, an array of unhealthy addresses and an error
func (r *DNSRecordReconciler) removeUnhealthyEndpoints(ctx context.Context, specEndpoints []*endpoint.Endpoint, dnsRecord *v1alpha1.DNSRecord) ([]*endpoint.Endpoint, []string, error) {
Expand Down

0 comments on commit e26c080

Please sign in to comment.