mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
appease linter
This commit is contained in:
parent
a3738de9e1
commit
38926cc6e5
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ func builtinReplace(_ []string, attr slog.Attr, logfmt bool) slog.Attr {
|
|||
if logfmt {
|
||||
return slog.String("t", attr.Value.Time().Format(timeFormat))
|
||||
} else {
|
||||
return slog.Attr{"t", attr.Value}
|
||||
return slog.Attr{Key: "t", Value: attr.Value}
|
||||
}
|
||||
}
|
||||
case slog.LevelKey:
|
||||
|
|
|
|||
Loading…
Reference in a new issue