Skip to content

Commit

Permalink
some more breaking changes
Browse files Browse the repository at this point in the history
Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Feb 5, 2025
1 parent bd9e1b8 commit 02ab914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kube-runtime/src/reflector/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ mod tests {
use futures::{stream, StreamExt, TryStreamExt};
use k8s_openapi::{api::core::v1::ConfigMap, apimachinery::pkg::apis::meta::v1::ObjectMeta};
use rand::{
distributions::{Bernoulli, Uniform},
distr::{Bernoulli, Uniform},
Rng,
};
use std::collections::{BTreeMap, HashMap};
Expand Down Expand Up @@ -257,7 +257,7 @@ mod tests {
#[tokio::test]
async fn reflector_store_should_not_contain_duplicates() {
let mut rng = rand::rng();
let item_dist = Uniform::new(0_u8, 100);
let item_dist = Uniform::new(0_u8, 100).unwrap();
let deleted_dist = Bernoulli::new(0.40).unwrap();
let store_w = store::Writer::default();
let store = store_w.as_reader();
Expand Down

0 comments on commit 02ab914

Please sign in to comment.