Fixed bug 419: same group validation in both include & exclude flags#551
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthrough
ChangesCRD Group Conflict Validation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Test Coverage ReportTotal: 46.8% Per-package coverage
Full function-level detailsPosted by CI |
Summary
ExportOptions.Validate()to reject conflicting CRD group flags when the same API group appears in both--crd-skip-groupand--crd-include-group--crd-include-grouptook precedence without any warningFixes #419
Test plan
go test ./cmd/export/ -run TestValidate_CRDGroupConflict)CRD group "example.com" appears in both --crd-skip-group and --crd-include-groupSummary by CodeRabbit
Bug Fixes
Tests