Skip to content

Commit 2bc7dfb

Browse files
committed
Fmt
1 parent 5f96c7f commit 2bc7dfb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/attestation/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,8 +650,8 @@ fn running_on_gcp() -> Result<bool, AttestationError> {
650650
let resp = agent.get(GCP_METADATA_API).call();
651651

652652
if let Ok(r) = resp {
653-
return Ok(r.status() == 200
654-
&& r.header("Metadata-Flavor").map(|v| v == "Google").unwrap_or(false));
653+
return Ok(r.status() == 200 &&
654+
r.header("Metadata-Flavor").map(|v| v == "Google").unwrap_or(false));
655655
}
656656

657657
Ok(false)

0 commit comments

Comments
 (0)