maintenance: remove hardcoded crd constants in restoreCrd #486
Annotations
1 error
lint
You have commit messages with errors
⧗ input: restore: remove hardcoded crd constants in restoreCrd
Refactored the RestoreCrd function to accept groupName and
versionResource as parameters instead of relying on the hardcoded
constants crds.CephRookIoGroup and crds.CephRookResourcesVersion.
This improves flexibility and allows the function to handle
different CRDs dynamically.
Signed-off-by: Oded Viner <[email protected]>
✖ type must be one of [build, ci, core, csi, doc, docs, mds, mgr, mon, mons, operator, osd, test, tests, clean, maintenance] [type-enum]
✖ found 1 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
|