Fix time-naming linter violation in search_traces.go#7913
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.
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 jaegertracing#7911. Renames variables to comply with linter rules as requested. Signed-off-by: Jonah Kowall <jkowall@kowall.net>
) Fixes jaegertracing#7911. Renames variables to comply with linter rules as requested. Signed-off-by: Jonah Kowall <jkowall@kowall.net>
Fixes #7911. Renames variables to comply with linter rules as requested.