small modifications

This commit is contained in:
ghe0 2025-03-29 20:01:59 +02:00
parent 27519ef823
commit c56843b3fd
Signed by: ghe0
GPG Key ID: 451028EE56A0FBB4
2 changed files with 2 additions and 7 deletions

@ -63,11 +63,7 @@ pub async fn connect_dtpm_grpc_client(
.enable_http2()
.build();
let channel = Endpoint::from_shared(hratls_uri)?
// .tls_config(client_tls_config.into())?
.connect_with_connector(connector)
.await
.unwrap();
let channel = Endpoint::from_shared(hratls_uri)?.connect_with_connector(connector).await?;
Ok(DtpmConfigManagerClient::new(channel))
}
@ -79,7 +75,6 @@ pub async fn attest_and_send_config(loaded_config: DtpmConfig, uuid: &str) -> Re
log::trace!("Decoded the configuration... {:?}", req_data);
let (hratls_uri, mr_enclave) = hratls_url_and_mr_enclave_from_app_id(uuid).await;
log::info!("hratls uri: {}\nmr_enclave: {:?}", &hratls_uri, &mr_enclave);
let client = connect_dtpm_grpc_client(hratls_uri, mr_enclave).await?;

@ -186,7 +186,7 @@ pub struct AppDeployResponse {
impl crate::HumanOutput for AppDeployResponse {
fn human_cli_print(&self) {
println!("App deployd with UUID: {}, App Name: {}", self.uuid, self.name);
println!("The application got deployed under the UUID: {}", self.uuid);
}
}