Skip to content

Commit 039fd7c

Browse files
authored
chore: upgrade nix (#105)
1 parent cba4477 commit 039fd7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ serde_derive = "1"
4040
serde = "1"
4141
serde_json = "1"
4242
uuid = { version = "~0.8", features = ["serde"] }
43-
nix = "0.21"
43+
nix = "0.29"
4444
tracing = "0.1"
4545

4646
[features]

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,6 @@ impl From<Error> for RadosError {
139139
}
140140
impl From<i32> for RadosError {
141141
fn from(err: i32) -> RadosError {
142-
RadosError::ApiError(nix::errno::Errno::from_i32(-err))
142+
RadosError::ApiError(nix::errno::Errno::from_raw(-err))
143143
}
144144
}

0 commit comments

Comments
 (0)