Commit 494e39e
committed
Remove deprecated webhook.Defaulter/Validator interface assertions
These compile-time assertions reference webhook.Defaulter and
webhook.Validator interfaces that are removed in controller-runtime
v0.21 (OCP 4.20). The assertions are dead code — webhook registration
already uses CustomDefaulter/CustomValidator in internal/webhook/.
Removing them makes the API module forward-compatible with CR v0.21
so that consumers (like openstack-operator) can bump controller-runtime
without needing replace directives for this operator.
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>1 parent 8920bcd commit 494e39e
1 file changed
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
55 | | - | |
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
| |||
75 | 72 | | |
76 | 73 | | |
77 | 74 | | |
78 | | - | |
79 | | - | |
80 | 75 | | |
81 | 76 | | |
82 | 77 | | |
| |||
0 commit comments