Skip to content

Commit 8e09a6b

Browse files
rename to printRecords
Signed-off-by: Bruno Schaatsbergen <[email protected]>
1 parent a25139b commit 8e09a6b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/printer.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"github.com/juju/ansiterm"
1313
)
1414

15-
// displayRecords prints the DNS records to the terminal.
16-
func displayRecords(domainName string, messages []*dns.Msg) {
15+
// printRecords prints the DNS records to the terminal.
16+
func printRecords(domainName string, messages []*dns.Msg) {
1717
w := ansiterm.NewTabWriter(os.Stdout, 8, 8, 4, ' ', 0)
1818
w.SetColorCapable(true)
1919

cmd/root.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var (
4545
os.Exit(1)
4646
}
4747

48-
displayRecords(args[0], messages)
48+
printRecords(args[0], messages)
4949
},
5050
}
5151
)

0 commit comments

Comments
 (0)