mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Lint: Fix ST1005: error strings should not be capitalized (#834)
This commit is contained in:
@@ -136,10 +136,10 @@ func (c *adProvider) logHelper(s string) error {
|
||||
}
|
||||
_, err = fmt.Fprintln(logfile, s)
|
||||
if err != nil {
|
||||
return fmt.Errorf("Append to %#v failed: %v", c.psLog, err)
|
||||
return fmt.Errorf("append to %#v failed: %v", c.psLog, err)
|
||||
}
|
||||
if logfile.Close() != nil {
|
||||
return fmt.Errorf("Closing %#v failed: %v", c.psLog, err)
|
||||
return fmt.Errorf("closing %#v failed: %v", c.psLog, err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user