@@ -239,7 +239,7 @@ impl PrismDatasetRequest {
239
239
///
240
240
/// # Note
241
241
/// 1. This method won't fail if individual streams fail - it will only include
242
- /// successfully processed streams in the result.
242
+ /// successfully processed streams in the result.
243
243
/// 2. On receiving an empty stream list, we return for all streams the user is able to query for
244
244
pub async fn get_datasets (
245
245
mut self ,
@@ -258,7 +258,7 @@ impl PrismDatasetRequest {
258
258
continue ;
259
259
}
260
260
261
- if PARSEABLE . check_or_load_stream ( & stream) . await {
261
+ if PARSEABLE . check_or_load_stream ( stream) . await {
262
262
debug ! ( "Stream not found: {stream}" ) ;
263
263
continue ;
264
264
}
@@ -268,11 +268,11 @@ impl PrismDatasetRequest {
268
268
stats,
269
269
retention,
270
270
..
271
- } = get_prism_logstream_info ( & stream) . await ?;
271
+ } = get_prism_logstream_info ( stream) . await ?;
272
272
273
273
let hottier = match HotTierManager :: global ( ) {
274
274
Some ( hot_tier_manager) => {
275
- let stats = hot_tier_manager. get_hot_tier ( & stream) . await ?;
275
+ let stats = hot_tier_manager. get_hot_tier ( stream) . await ?;
276
276
Some ( stats)
277
277
}
278
278
_ => None ,
@@ -292,9 +292,9 @@ impl PrismDatasetRequest {
292
292
293
293
// Retrieve distinct values for source identifiers
294
294
// Returns None if fields aren't present or if query fails
295
- let ips = self . get_distinct_entries ( & stream, "p_src_ip" ) . await . ok ( ) ;
295
+ let ips = self . get_distinct_entries ( stream, "p_src_ip" ) . await . ok ( ) ;
296
296
let user_agents = self
297
- . get_distinct_entries ( & stream, "p_user_agent" )
297
+ . get_distinct_entries ( stream, "p_user_agent" )
298
298
. await
299
299
. ok ( ) ;
300
300
0 commit comments