Skip to content

Commit a2c9787

Browse files
committed
chore(containerdebug): Add rustfmt changes
1 parent b5f9262 commit a2c9787

2 files changed

Lines changed: 11 additions & 10 deletions

File tree

crates/containerdebug/src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
mod error;
2-
mod system_information;
1+
use std::{path::PathBuf, time::Instant};
32

43
use clap::Parser;
54
use stackable_telemetry::{Tracing, tracing::TelemetryOptions};
6-
use std::path::PathBuf;
75

86
use crate::system_information::SystemInformation;
9-
use std::time::Instant;
7+
8+
mod error;
9+
mod system_information;
1010

1111
const APP_NAME: &str = "containerdebug";
1212

crates/containerdebug/src/system_information/network.rs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1+
use std::{
2+
collections::{BTreeMap, BTreeSet},
3+
net::IpAddr,
4+
sync::LazyLock,
5+
time::Duration,
6+
};
7+
18
use hickory_resolver::{
29
TokioResolver, net::runtime::TokioRuntimeProvider, proto::rr::RData,
310
system_conf::read_system_conf,
411
};
512
use local_ip_address::list_afinet_netifas;
613
use serde::Serialize;
714
use snafu::{ResultExt, Snafu};
8-
use std::{
9-
collections::{BTreeMap, BTreeSet},
10-
net::IpAddr,
11-
sync::LazyLock,
12-
time::Duration,
13-
};
1415
use tokio::task::JoinSet;
1516

1617
#[derive(Debug, Snafu)]

0 commit comments

Comments
 (0)