Skip to content

Commit

Permalink
Revert "downgrade API"
Browse files Browse the repository at this point in the history
This reverts commit 352e249.
  • Loading branch information
alamb committed Feb 12, 2025
1 parent 0ca221a commit 4b12e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion object_store/src/client/dns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl Resolve for ShuffleResolver {
let it = (name.as_str(), 0).to_socket_addrs()?;
let mut addrs = it.collect::<Vec<_>>();

addrs.shuffle(&mut rand::thread_rng());
addrs.shuffle(&mut rand::rng());

Ok(Box::new(addrs.into_iter()) as Addrs)
});
Expand Down

0 comments on commit 4b12e9c

Please sign in to comment.