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.
This commit is contained in:
Chris
2026-09-14 02:56:45 +08:00
committed by GitHub
parent e5d9c385bd
commit 02b3cd3032
@@ -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],
},