mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-04 22:26:11 +02:00
Remove unused validateOwner plan test function
This commit is contained in:
parent
59054b02d8
commit
635da46f70
@ -928,14 +928,6 @@ func validateEntries(t *testing.T, entries, expected []*endpoint.Endpoint) {
|
||||
}
|
||||
}
|
||||
|
||||
func validateOwner(t *testing.T, entries []*endpoint.Endpoint, owner string) {
|
||||
for _, entry := range entries {
|
||||
if entry.Labels[endpoint.OwnerLabelKey] != owner {
|
||||
t.Fatalf("expected owner label %q to match %q", entry.Labels[endpoint.OwnerLabelKey], owner)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestNormalizeDNSName(t *testing.T) {
|
||||
records := []struct {
|
||||
dnsName string
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user