mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-26 16:28:15 +00:00
fix(protocols): simplify swift expiration test types (#4385)
This commit is contained in:
@@ -666,7 +666,7 @@ mod tests {
|
||||
}
|
||||
|
||||
impl MockExpirationObjectBackend {
|
||||
fn with_metadata_result(result: SwiftResult<Option<HashMap<String, String>>>) -> Self {
|
||||
fn with_metadata_result(result: MetadataResult) -> Self {
|
||||
Self {
|
||||
metadata_results: Mutex::new(VecDeque::from([result])),
|
||||
..Default::default()
|
||||
|
||||
Reference in New Issue
Block a user