Skip to content

Commit dbee825

Browse files
committed
fix: [#1037] wrong req type name in tracker checker outout
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 } ] ] } } } ] ```
1 parent e8a0073 commit dbee825

File tree

1 file changed

+1
-1
lines changed
  • src/console/clients/checker/checks

1 file changed

+1
-1
lines changed

src/console/clients/checker/checks/udp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ pub async fn run(udp_trackers: Vec<SocketAddr>, timeout: Duration) -> Vec<Result
8383
.await
8484
.map(|_| ());
8585

86-
checks.results.push((Check::Announce, check));
86+
checks.results.push((Check::Scrape, check));
8787
}
8888

8989
if checks.results.iter().any(|f| f.1.is_err()) {

0 commit comments

Comments
 (0)