Skip to content

Commit

Permalink
Remove unused validateOwner plan test function
Browse files Browse the repository at this point in the history
  • Loading branch information
cronik committed Jul 23, 2023
1 parent 03379e4 commit 8a56a39
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions plan/plan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -920,14 +920,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
Expand Down

0 comments on commit 8a56a39

Please sign in to comment.