Skip to content

Commit

Permalink
tdx-attester: handle log macros scope consistently
Browse files Browse the repository at this point in the history
Signed-off-by: Mikko Ylinen <[email protected]>
  • Loading branch information
mythi authored and Xynnn007 committed Jun 7, 2024
1 parent 5156798 commit 1ae345c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions attestation-agent/attester/src/tdx/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use crate::utils::pad;
use crate::InitdataResult;
use anyhow::*;
use base64::Engine;
use log::debug;
use scroll::Pread;
use serde::{Deserialize, Serialize};
use sha2::{Digest, Sha384};
Expand Down Expand Up @@ -147,7 +146,7 @@ impl Attester for TdxAttester {
let mut report = tdx_report_t { d: [0; 1024] };
match tdx_attest_rs::tdx_att_get_report(None, &mut report) {
tdx_attest_rs::tdx_attest_error_t::TDX_ATTEST_SUCCESS => {
debug!("Successfully get report")
log::debug!("Successfully get report")
}
error_code => {
bail!(
Expand Down

0 comments on commit 1ae345c

Please sign in to comment.