Skip to content

Commit

Permalink
chore: upgrade nix
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-aaron committed Sep 26, 2024
1 parent cba4477 commit e196d39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ serde_derive = "1"
serde = "1"
serde_json = "1"
uuid = { version = "~0.8", features = ["serde"] }
nix = "0.21"
nix = "0.29"
tracing = "0.1"

[features]
Expand Down
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,6 @@ impl From<Error> for RadosError {
}
impl From<i32> for RadosError {
fn from(err: i32) -> RadosError {
RadosError::ApiError(nix::errno::Errno::from_i32(-err))
RadosError::ApiError(nix::errno::Errno::from_raw(-err))
}
}

0 comments on commit e196d39

Please sign in to comment.