From 02b3cd30321d836226abf620f06ff9b6c9d64acc Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 14 Sep 2026 02:56:45 +0800 Subject: [PATCH] fix(connect): restore rustfs build after site replication perf producer (#7779) #7769 left rustfs/src/connect/diagnostics/perf_site_replication.rs failing to compile: a local binding named object_url shadowed the object_url() helper in the same scope (E0618), and a test put the consent nonce on the request instead of LocalSiteReplicationConsent (E0063/E0560). Rename the binding to source_url and move the test nonce into the consent. --- rustfs/src/connect/diagnostics/perf_site_replication.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rustfs/src/connect/diagnostics/perf_site_replication.rs b/rustfs/src/connect/diagnostics/perf_site_replication.rs index 7650f666c..6fcc32754 100644 --- a/rustfs/src/connect/diagnostics/perf_site_replication.rs +++ b/rustfs/src/connect/diagnostics/perf_site_replication.rs @@ -1478,6 +1478,7 @@ mod tests { consent_uid: "019e3ae0-0000-7000-8000-000000000015".to_owned(), policy_revision: 7, expires_at_unix: now + 120, + nonce: [0x6b; 32], confirmed: true, nonce: [0x6b; 32], },