chore: fix revive issues

This commit is contained in:
galargh
2025-06-11 10:00:47 +01:00
parent a0c9fdf2b3
commit 50f065b4df
80 changed files with 209 additions and 209 deletions

View File

@@ -20,7 +20,7 @@ func setupMockNAT(t *testing.T) (mockNAT *MockNAT, reset func()) {
ctrl := gomock.NewController(t)
mockNAT = NewMockNAT(ctrl)
origDiscoverNAT := discoverNAT
discoverNAT = func(ctx context.Context) (nat, error) { return mockNAT, nil }
discoverNAT = func(_ context.Context) (nat, error) { return mockNAT, nil }
return mockNAT, func() {
discoverNAT = origDiscoverNAT
ctrl.Finish()