Skip to content

Commit a97d754

Browse files
sbernauerTechassi
authored andcommitted
chore: Bump sysinfo to 0.33; cargo update (#27)
* cargo update * Bump sysinfo 0.32 -> 0.33
1 parent 072f31d commit a97d754

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

crates/containerdebug/Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ version = "0.1.1"
44
edition = "2021"
55

66
[dependencies]
7-
clap = { version = "4.5.20", features = ["derive"] }
7+
clap = { version = "4.5", features = ["derive"] }
88

9-
hickory-resolver = "0.24.1"
10-
local-ip-address = "0.6.3"
11-
serde = { version = "1.0.210", features = ["derive"] }
12-
serde_json = "1.0.128"
13-
snafu = "0.8.5"
14-
stackable-operator = { git = "https://github.com/stackabletech/operator-rs", tag = "stackable-operator-0.83.0" }
15-
sysinfo = { version = "0.32.0", features = ["serde"] }
16-
tracing = "0.1.40"
9+
hickory-resolver = "0.24"
10+
local-ip-address = "0.6"
11+
serde = { version = "1.0", features = ["derive"] }
12+
serde_json = "1.0"
13+
snafu = "0.8"
14+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs", tag = "stackable-operator-0.86.0" }
15+
sysinfo = { version = "0.33", features = ["serde"] }
16+
tracing = "0.1"
1717

1818
[build-dependencies]
1919
built = { version = "0.7", features = ["chrono", "git2"] }

crates/containerdebug/src/system_information/os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pub struct OperatingSystem {
77
pub kernel_version: Option<String>,
88
pub version: Option<String>,
99
pub host_name: Option<String>,
10-
pub cpu_arch: Option<String>,
10+
pub cpu_arch: String,
1111
}
1212

1313
impl OperatingSystem {

crates/containerdebug/src/system_information/resources.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ impl Resources {
2727
// but should help keep each log statement local to where that info is collected.
2828

2929
sys.refresh_specifics(
30-
RefreshKind::new()
31-
.with_cpu(CpuRefreshKind::new().with_cpu_usage())
30+
RefreshKind::nothing()
31+
.with_cpu(CpuRefreshKind::nothing().with_cpu_usage())
3232
.with_memory(MemoryRefreshKind::everything()),
3333
);
3434

crates/containerdebug/src/system_information/user.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl User {
3030
sys.refresh_processes_specifics(
3131
sysinfo::ProcessesToUpdate::Some(&[pid]),
3232
false,
33-
ProcessRefreshKind::new().with_user(UpdateKind::OnlyIfNotSet),
33+
ProcessRefreshKind::nothing().with_user(UpdateKind::OnlyIfNotSet),
3434
);
3535
Ok(())
3636
}

0 commit comments

Comments
 (0)