This commit is contained in:
Fredrik Larsson 2023-03-05 16:32:15 +01:00
parent af7b072405
commit e3fbc7eb30

View File

@ -19,6 +19,7 @@ package source
import ( import (
"context" "context"
log "github.com/sirupsen/logrus"
"sigs.k8s.io/external-dns/endpoint" "sigs.k8s.io/external-dns/endpoint"
) )
@ -54,6 +55,7 @@ func (ms *targetFilterSource) Endpoints(ctx context.Context) ([]*endpoint.Endpoi
// If all targets are filtered out, skip the endpoint. // If all targets are filtered out, skip the endpoint.
if len(filteredTargets) == 0 { if len(filteredTargets) == 0 {
log.WithField("endpoint", ep).Debugf("Skipping endpoint because all targets were filtered out")
continue continue
} }