mirror of
https://github.com/libp2p/go-libp2p.git
synced 2025-09-26 20:21:26 +08:00
chore: fix revive issues
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
func TestNilOption(t *testing.T) {
|
||||
var cfg Config
|
||||
optsRun := 0
|
||||
opt := func(c *Config) error {
|
||||
opt := func(_ *Config) error {
|
||||
optsRun++
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user