Commit 4c1ec6b
fix: resolve lint issues in webhook e2e tests and consumer webhook
- Remove unused messageSubstrings variadic parameter from expectAdmissionDenied
- Add nolint:dupl to warn-on-missing It blocks (structurally similar but different YAML)
- Fix gofmt trailing newline in consumer_webhook.go
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 4ffeb5e commit 4c1ec6b
4 files changed
Lines changed: 3 additions & 7 deletions
File tree
- internal/webhook/v1
- test/e2e/webhook
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
| 239 | + | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | 242 | | |
246 | 243 | | |
247 | 244 | | |
| |||
0 commit comments