-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Fix time-naming linter violation in search_traces.go #7913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Renames variables to comply with linter rules. Fixes jaegertracing#7911 Signed-off-by: Jonah Kowall <jkowall@kowall.net>
|
The linter message was about minDiration not start/end times. And the linter is not failing on main / CI / for me locally. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7913 +/- ##
==========================================
- Coverage 95.50% 95.49% -0.02%
==========================================
Files 312 312
Lines 16511 16511
==========================================
- Hits 15769 15767 -2
- Misses 579 580 +1
- Partials 163 164 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes a linter violation by renaming time-related variables to comply with the revive linter's time-naming rules. The variables are renamed to follow the min<PropertyName>/max<PropertyName> convention, which is already used elsewhere in the codebase.
Changes:
- Renamed
startTimeMintominStartTimeandstartTimeMaxtomaxStartTimein thebuildQueryfunction - Updated all references to use the new variable names
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Metrics Comparison SummaryTotal changes across all snapshots: 0 Detailed changes per snapshotsummary_metrics_snapshot_cassandra📊 Metrics Diff SummaryTotal Changes: 0
summary_metrics_snapshot_cassandra📊 Metrics Diff SummaryTotal Changes: 0
summary_metrics_snapshot_cassandra📊 Metrics Diff SummaryTotal Changes: 0
summary_metrics_snapshot_cassandra📊 Metrics Diff SummaryTotal Changes: 0
|
Fixes #7911. Renames variables to comply with linter rules as requested.