Skip to content

Commit 3558bd7

Browse files
committed
fmt(tdxctl)
1 parent f900520 commit 3558bd7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tdxctl/src/tboot.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@ impl AppIdValidator {
6161
bail!("Missing app id");
6262
};
6363
let app_id = hex::encode(app_id);
64-
if !self.allowed_app_id.to_lowercase().contains(&app_id.to_lowercase()) {
64+
if !self
65+
.allowed_app_id
66+
.to_lowercase()
67+
.contains(&app_id.to_lowercase())
68+
{
6569
bail!("Invalid dstack-gateway app id: {app_id}");
6670
}
6771
Ok(())

0 commit comments

Comments
 (0)