mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-19 13:31:22 +00:00
remove println
This commit is contained in:
@@ -61,7 +61,6 @@ async fn start_server(opts: Opts) -> anyhow::Result<()> {
|
|||||||
let aggregator = Aggregator::spawn(opts.denylist).await?;
|
let aggregator = Aggregator::spawn(opts.denylist).await?;
|
||||||
let server = http_utils::start_server(opts.socket, move |addr, req| {
|
let server = http_utils::start_server(opts.socket, move |addr, req| {
|
||||||
let aggregator = aggregator.clone();
|
let aggregator = aggregator.clone();
|
||||||
println!("REQUEST: {:?}", (req.method(), req.uri().path()));
|
|
||||||
async move {
|
async move {
|
||||||
match (req.method(), req.uri().path().trim_end_matches('/')) {
|
match (req.method(), req.uri().path().trim_end_matches('/')) {
|
||||||
// Check that the server is up and running:
|
// Check that the server is up and running:
|
||||||
|
|||||||
Reference in New Issue
Block a user