Skip to content

Commit be14542

Browse files
committed
Fix clippy
1 parent 73b05a5 commit be14542

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dstack-attest/src/attestation.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ impl QuoteContentType<'_> {
173173
}
174174
}
175175

176+
#[allow(clippy::large_enum_variant)]
176177
/// Represents a verified attestation
177178
#[derive(Clone)]
178179
pub enum DstackVerifiedReport {
@@ -264,8 +265,8 @@ impl AttestationQuote {
264265
pub fn mode(&self) -> AttestationMode {
265266
match self {
266267
AttestationQuote::DstackTdx { .. } => AttestationMode::DstackTdx,
267-
AttestationQuote::DstackGcpTdx { .. } => AttestationMode::DstackGcpTdx,
268-
AttestationQuote::DstackNitroEnclave { .. } => AttestationMode::DstackNitroEnclave,
268+
AttestationQuote::DstackGcpTdx => AttestationMode::DstackGcpTdx,
269+
AttestationQuote::DstackNitroEnclave => AttestationMode::DstackNitroEnclave,
269270
}
270271
}
271272
}

0 commit comments

Comments
 (0)