Remove unused validateOwner plan test function

This commit is contained in:
Kyle Cronin 2023-07-22 23:07:43 -04:00
parent 59054b02d8
commit 635da46f70

View File

@ -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