Fix: wrong req type name in tracker checker output#1038
Merged
josecelano merged 1 commit intotorrust:developfrom Sep 11, 2024
Conversation
Fixed ouoput:
```output
$ TORRUST_CHECKER_CONFIG='{
"udp_trackers": ["127.0.0.1:6969"],
"http_trackers": [],
"health_checks": []
}' cargo run --bin tracker_checker
Compiling torrust-tracker v3.0.0-rc.1-develop (/home/josecelano/Documents/git/committer/me/github/torrust/torrust-tracker)
Finished `dev` profile [optimized + debuginfo] target(s) in 15.42s
Running `target/debug/tracker_checker`
2024-09-11T09:44:57.432395Z INFO torrust_tracker::console::clients::checker::service: Running checks for trackers ...
[
{
"Udp": {
"Ok": {
"remote_addr": "127.0.0.1:6969",
"results": [
[
"Setup",
{
"Ok": null
}
],
[
"Connect",
{
"Ok": null
}
],
[
"Announce",
{
"Ok": null
}
],
[
"Scrape",
{
"Ok": null
}
]
]
}
}
}
]
```
Member
Author
|
ACK dbee825 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1038 +/- ##
========================================
Coverage 77.19% 77.19%
========================================
Files 178 178
Lines 10180 10180
========================================
Hits 7858 7858
Misses 2322 2322 ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix wrong req type name in tracker checker output.
Command:
Fixed output:
[ { "Udp": { "Ok": { "remote_addr": "127.0.0.1:6969", "results": [ [ "Setup", { "Ok": null } ], [ "Connect", { "Ok": null } ], [ "Announce", { "Ok": null } ], [ "Scrape", { "Ok": null } ] ] } } } ]The previous output was:
[ { "Udp": { "Ok": { "remote_addr": "127.0.0.1:6969", "results": [ [ "Setup", { "Ok": null } ], [ "Connect", { "Ok": null } ], [ "Announce", { "Ok": null } ], [ "Announce", { "Ok": null } ] ] } } } ]