Skip to content

Commit 690a89e

Browse files
committed
fixup! feat: Add preflight checks framework
Address gocritic linter error
1 parent b3da7d4 commit 690a89e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/webhook/preflight/preflight_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ type mockDecoder struct {
3939
err error
4040
}
4141

42+
//nolint:gocritic // These parameters are required, because this mock implements a third-party interface.
4243
func (m *mockDecoder) Decode(_ admission.Request, _ runtime.Object) error {
4344
return m.err
4445
}

0 commit comments

Comments
 (0)