mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-27 15:37:02 +00:00
fix(ci): restore merged main Clippy lanes (#6612)
This commit is contained in:
@@ -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"))]
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user