Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit b0bda1b

Browse files
author
fbockaj
committed
Fix linter err checks
1 parent 67d4fc5 commit b0bda1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

types/logger.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,29 @@ func (sl *SyncLogger) Debug(format string, v ...interface{}) {
3535
sl.Lock()
3636
defer sl.Unlock()
3737
taggedFormat := fmt.Sprintf("[DEBUG] signctrl: %v", format)
38-
sl.logger.Output(2, fmt.Sprintf(taggedFormat, v...))
38+
_ = sl.logger.Output(2, fmt.Sprintf(taggedFormat, v...))
3939
}
4040

4141
// Info calls sl.Output to print an info message to the logger.
4242
func (sl *SyncLogger) Info(format string, v ...interface{}) {
4343
sl.Lock()
4444
defer sl.Unlock()
4545
taggedFormat := fmt.Sprintf("[INFO] signctrl: %v", format)
46-
sl.logger.Output(2, fmt.Sprintf(taggedFormat, v...))
46+
_ = sl.logger.Output(2, fmt.Sprintf(taggedFormat, v...))
4747
}
4848

4949
// Warn calls sl.Output to print a warning message to the logger.
5050
func (sl *SyncLogger) Warn(format string, v ...interface{}) {
5151
sl.Lock()
5252
defer sl.Unlock()
5353
taggedFormat := fmt.Sprintf("[WARN] signctrl: %v", format)
54-
sl.logger.Output(2, fmt.Sprintf(taggedFormat, v...))
54+
_ = sl.logger.Output(2, fmt.Sprintf(taggedFormat, v...))
5555
}
5656

5757
// Error calls sl.Output to print an error message to the logger.
5858
func (sl *SyncLogger) Error(format string, v ...interface{}) {
5959
sl.Lock()
6060
defer sl.Unlock()
6161
taggedFormat := fmt.Sprintf("[ERR] signctrl: %v", format)
62-
sl.logger.Output(2, fmt.Sprintf(taggedFormat, v...))
62+
_ = sl.logger.Output(2, fmt.Sprintf(taggedFormat, v...))
6363
}

0 commit comments

Comments
 (0)