Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cole Ratner committed Dec 8, 2021
1 parent 1875ffa commit fcbd2c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zonefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ func (z *Zonefile) AddEntry(e Entry) *Entry {
return &z.entries[len(z.entries)-1]
}

func (z *Zonefile) DeleteEntry(e Entry, h string) {
func (z *Zonefile) DeleteEntry(h string) {
for i, r := range z.entries {
if string(r.Domain()) == h {
z.entries = append(z.entries[:i], z.entries[i+1:]...)
Expand Down

0 comments on commit fcbd2c5

Please sign in to comment.