Skip to content

Commit

Permalink
Use display not debug for building quote context querystring
Browse files Browse the repository at this point in the history
  • Loading branch information
ameba23 committed Dec 9, 2024
1 parent e7d6326 commit 94e27ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/client/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ pub async fn get_tdx_quote(
quote_context: QuoteContext,
) -> Result<Vec<u8>, ClientError> {
let response =
reqwest::get(format!("http://{}/attest?context={:?}", tss_endpoint, quote_context)).await?;
reqwest::get(format!("http://{}/attest?context={}", tss_endpoint, quote_context)).await?;
if response.status() != reqwest::StatusCode::OK {
return Err(ClientError::QuoteGet(response.text().await?));
}
Expand Down

0 comments on commit 94e27ec

Please sign in to comment.