From e26c080682d014902480d13cf51f1d52e1939c4d Mon Sep 17 00:00:00 2001 From: Craig Brookes Date: Wed, 30 Oct 2024 10:15:39 +0000 Subject: [PATCH] Update internal/controller/dnsrecord_healthchecks.go --- internal/controller/dnsrecord_healthchecks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/dnsrecord_healthchecks.go b/internal/controller/dnsrecord_healthchecks.go index bef1f03..41de872 100644 --- a/internal/controller/dnsrecord_healthchecks.go +++ b/internal/controller/dnsrecord_healthchecks.go @@ -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) {