Skip to content

Commit

Permalink
Comment on the newline
Browse files Browse the repository at this point in the history
Signed-off-by: Miek Gieben <miek@miek.nl>
  • Loading branch information
miekg committed Aug 29, 2019
1 parent ad03422 commit 8731f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/sign/file.go
Expand Up @@ -33,7 +33,7 @@ func write(w io.Writer, z *file.Zone) error {
if _, err := io.WriteString(w, z.Apex.SOA.String()); err != nil {
return err
}
w.Write([]byte("\n"))
w.Write([]byte("\n")) // RR Stringer() method doesn't include newline, which ends the RR in a zone file, write that here.
for _, rr := range z.Apex.SIGSOA {
io.WriteString(w, rr.String())
w.Write([]byte("\n"))
Expand Down

0 comments on commit 8731f33

Please sign in to comment.