mirror of https://github.com/sirupsen/logrus.git
Fix go-staticcheck S1021 issues
This commit is contained in:
parent
2f72d325dc
commit
80d649c2d1
|
@ -544,8 +544,7 @@ func TestParseLevel(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestLevelString(t *testing.T) {
|
||||
var loggerlevel Level
|
||||
loggerlevel = 32000
|
||||
var loggerlevel Level = 32000
|
||||
|
||||
_ = loggerlevel.String()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue