fix(ci): restore merged main Clippy lanes (#6612)

This commit is contained in:
Zhengchao An
2026-08-26 10:19:47 +08:00
committed by GitHub
parent be22175035
commit 9db1d6f06b
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -328,7 +328,9 @@ pub struct WriteEncryption {
/// after every node (and every RustFS warm/replication target that receives
/// raw ciphertext) runs a release with v2 read support. Reading v2 objects
/// needs no switch — the decrypt reader dispatches on the frame type byte.
#[cfg(not(feature = "rio-v2"))]
pub(crate) const ENV_RUSTFS_ENCRYPTION_FRAME_V2: &str = "RUSTFS_ENCRYPTION_FRAME_V2";
#[cfg(not(feature = "rio-v2"))]
pub(crate) const DEFAULT_RUSTFS_ENCRYPTION_FRAME_V2: bool = false;
#[cfg(not(feature = "rio-v2"))]
+1 -1
View File
@@ -338,7 +338,7 @@ mod tests {
serde_json::to_value(&config).expect("config serializes")
}
fn token_at<'a>(document: &'a Value) -> &'a str {
fn token_at(document: &Value) -> &str {
document["backend_config"]["VaultKV2"]["auth_method"]["Token"]["token"]
.as_str()
.expect("token leaf exists")