From dfc05048cff8ddb3a42dcefbfb78c47486edf31f Mon Sep 17 00:00:00 2001 From: overtrue <1472352+overtrue@users.noreply.github.com> Date: Wed, 2 Dec 2026 08:02:17 +0800 Subject: [PATCH] test(snowball): pass owned PAX budget fixtures directly --- rustfs/src/app/object/extract.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rustfs/src/app/object/extract.rs b/rustfs/src/app/object/extract.rs index ccaaa49b7d..8f4352c995 100644 --- a/rustfs/src/app/object/extract.rs +++ b/rustfs/src/app/object/extract.rs @@ -4972,7 +4972,7 @@ mod tests { exact_headers .overlay_record( &format!("minio.metadata.{header_name}"), - &"v".repeat(EXTRACT_MAX_EFFECTIVE_PAX_HEADER_BYTES - header_name.len() + 1), + "v".repeat(EXTRACT_MAX_EFFECTIVE_PAX_HEADER_BYTES - header_name.len() + 1), ) .is_err() ); @@ -4988,7 +4988,7 @@ mod tests { exact_user_metadata .overlay_record( &format!("minio.metadata.{user_name}"), - &"u".repeat(EXTRACT_MAX_EFFECTIVE_PAX_USER_METADATA_BYTES - user_name.len() + 1), + "u".repeat(EXTRACT_MAX_EFFECTIVE_PAX_USER_METADATA_BYTES - user_name.len() + 1), ) .is_err() );