Skip to content

Commit d12122b

Browse files
committed
agent: remove unused method from cdh.rs
remove unused method from cdh.rs Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
1 parent 76372af commit d12122b

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/agent/src/cdh.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -64,26 +64,6 @@ impl CDHClient {
6464
.await?;
6565
Ok(unsealed_secret.plaintext)
6666
}
67-
68-
pub async fn secure_mount(
69-
&self,
70-
volume_type: &str,
71-
options: &std::collections::HashMap<String, String>,
72-
flags: Vec<String>,
73-
mount_point: &str,
74-
) -> Result<()> {
75-
let req = confidential_data_hub::SecureMountRequest {
76-
volume_type: volume_type.to_string(),
77-
options: options.clone(),
78-
flags,
79-
mount_point: mount_point.to_string(),
80-
..Default::default()
81-
};
82-
self.secure_mount_client
83-
.secure_mount(ttrpc::context::with_timeout(*CDH_API_TIMEOUT), &req)
84-
.await?;
85-
Ok(())
86-
}
8767
}
8868

8969
pub async fn init_cdh_client(cdh_socket_uri: &str) -> Result<()> {

0 commit comments

Comments
 (0)