Skip to content

maintenance: remove hardcoded crd constants in restoreCrd #486

maintenance: remove hardcoded crd constants in restoreCrd

maintenance: remove hardcoded crd constants in restoreCrd #486

Triggered via pull request February 6, 2025 14:37
Status Failure
Total duration 26s
Artifacts

commitlint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

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