From a35ebb92b89c771ea4748af9ee5642fcddf37d06 Mon Sep 17 00:00:00 2001 From: Zhengchao An Date: Sat, 11 Jul 2026 07:01:56 +0800 Subject: [PATCH] fix(test): add missing mod_time_unix_nanos field in mutation_hook test helper The recent addition of ObjectDataCacheGetRequest.mod_time_unix_nanos (backlog#1111 / ODC-06) missed the test helper in mutation_hook.rs, causing a compile error under clippy --all-targets. --- rustfs/src/app/object_data_cache/mutation_hook.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rustfs/src/app/object_data_cache/mutation_hook.rs b/rustfs/src/app/object_data_cache/mutation_hook.rs index a07af5e97..c4e588eca 100644 --- a/rustfs/src/app/object_data_cache/mutation_hook.rs +++ b/rustfs/src/app/object_data_cache/mutation_hook.rs @@ -81,6 +81,7 @@ mod tests { version_id: None, etag: "etag", size: 5, + mod_time_unix_nanos: 0, body_variant: ObjectDataCacheBodyVariant::FullObjectPlainV1, } }