mirror of
https://github.com/rustfs/rustfs.git
synced 2026-09-19 10:03:13 +08:00
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:
@@ -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],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user