Skip to content

Commit

Permalink
Update to use latest ttrpc library
Browse files Browse the repository at this point in the history
Signed-off-by: James Sturtevant <jstur@microsoft.com>
  • Loading branch information
jsturtevant committed Jun 21, 2023
1 parent aa558d2 commit db51ca4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/shim-protos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ homepage.workspace = true

[dependencies]
protobuf = "3.1"
ttrpc = { git = "https://github.com/jsturtevant/ttrpc-rust", rev = "d96bea3a41b6c6b85c1d8da53e5085fb0789a685" } # unmerged pr https://github.com/containerd/ttrpc-rust/pull/182
ttrpc = "0.8.0"
async-trait = { version = "0.1.48", optional = true }

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/shim/src/synchronous/publisher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl RemotePublisher {
{
let fd = connect(address)?;
// Client::new() takes ownership of the RawFd.
Ok(Client::new_from_fd(fd)?)
Client::new(fd).map_err(|err| err.into())
}

#[cfg(windows)]
Expand Down

0 comments on commit db51ca4

Please sign in to comment.