docs: fix double-negative in comment in internal/runtime/condition.go#2026
Conversation
The comment '// Error message for the case not all condition was not met'
contained a double-negative ('not ... not met') making it confusing.
Also fix 'condition' (singular) to 'conditions' (plural) for clarity.
New comment: '// Error message for when not all conditions are met'
Closes dagucloud#2025
Signed-off-by: Cocoon-Break <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA comment in Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 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 |
yottahmd
left a comment
There was a problem hiding this comment.
LGTM, thanks for improving the comment!
Summary
Fixes a confusing double-negative comment in
internal/runtime/condition.go.Change
Before:
// Error message for the case not all condition was not metAfter:
// Error message for when not all conditions are metExplanation
The original comment has two issues:
The fix makes the comment clear and grammatically correct.
Closes #2025
Summary by CodeRabbit