mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-04-20 19:38:39 +00:00
Fix: Implement golangci-lint suggestions
This commit is contained in:
@@ -58,7 +58,7 @@ func GetLogLevelOrDebug(levelStr string) zerolog.Level {
|
||||
|
||||
type timestampHook struct{}
|
||||
|
||||
func (h *timestampHook) Run(e *zerolog.Event, l zerolog.Level, msg string) {
|
||||
func (h *timestampHook) Run(e *zerolog.Event, _ zerolog.Level, _ string) {
|
||||
t := time.Now()
|
||||
ts := t.Format(time.RFC3339)
|
||||
e.Str("time", ts)
|
||||
|
||||
Reference in New Issue
Block a user