From 74b4246ee37a17f599ab24ff6825aebd824377a9 Mon Sep 17 00:00:00 2001 From: Jiale Zhang Date: Mon, 29 Nov 2021 11:38:26 +0800 Subject: [PATCH] Fix: src/grpc/mod.rs: expected struct `Status`, found struct `anyhow::Error` Signed-off-by: Jiale Zhang --- src/grpc/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grpc/mod.rs b/src/grpc/mod.rs index 51820bff..6cd6b6d0 100644 --- a/src/grpc/mod.rs +++ b/src/grpc/mod.rs @@ -117,7 +117,7 @@ impl KeyProviderService for KeyProvider { }; debug!("Reply successfully!"); - Ok(Response::new(reply)) + Result::Ok(Response::new(reply)) } async fn wrap_key(