Skip to content

Commit 2d5df3f

Browse files
authored
Merge pull request #399 from Dstack-TEE/fix-warn
Fix compilation warnings
2 parents c189643 + e4f918d commit 2d5df3f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ct_monitor/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl Monitor {
4949

5050
async fn refresh_known_keys(&mut self) -> Result<()> {
5151
info!("fetching known public keys from {}", self.gateway_uri);
52-
let todo = "Use RA-TLS";
52+
// TODO: Use RA-TLS
5353
let tls_no_check = true;
5454
let rpc = GatewayClient::new(RaClient::new(self.gateway_uri.clone(), tls_no_check)?);
5555
let info = rpc.acme_info().await?;

ra-tls/src/cert.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl CaCert {
4848
let key = KeyPair::from_pem(&pem_key).context("Failed to parse key")?;
4949
let cert =
5050
CertificateParams::from_ca_cert_pem(&pem_cert).context("Failed to parse cert")?;
51-
let todo = "load the cert from the file directly: blocked by https://github.com/rustls/rcgen/issues/274";
51+
// TODO: load the cert from the file directly, blocked by https://github.com/rustls/rcgen/issues/274
5252
let cert = cert.self_signed(&key).context("Failed to self-sign cert")?;
5353
Ok(Self {
5454
pem_cert,

0 commit comments

Comments
 (0)