1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

deadcode: Errorf

This commit is contained in:
Tom Limoncelli
2024-03-03 11:48:54 -05:00
parent 4f32ddf132
commit 0576cec7d8

View File

@@ -54,9 +54,9 @@ func Warnf(fmt string, args ...interface{}) {
} }
// Errorf is called to print/format an error. // Errorf is called to print/format an error.
func Errorf(fmt string, args ...interface{}) { // func Errorf(fmt string, args ...interface{}) {
DefaultPrinter.Errorf(fmt, args...) // DefaultPrinter.Errorf(fmt, args...)
} // }
var ( var (
// DefaultPrinter is the default Printer, used by Debugf, Printf, and Warnf. // DefaultPrinter is the default Printer, used by Debugf, Printf, and Warnf.