Commit ffedcfe
refactor: return error on conversion failure, remove unused crdgen
- Return error instead of nil when unstructured-to-typed conversion fails.
This ensures malformed resources are requeued for retry rather than
being silently dropped.
- Remove unused tests/crdgen/ packages and generate.sh script. These
types were only used for CRD generation but the test uses
unstructured objects directly.1 parent 0040a74 commit ffedcfe
File tree
6 files changed
+3
-102
lines changed- tests
- crdgen
- v1
- v2
- crds
6 files changed
+3
-102
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
| |||
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
98 | | - | |
| 97 | + | |
99 | 98 | | |
100 | 99 | | |
101 | | - | |
| 100 | + | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments