File tree 5 files changed +9
-5
lines changed
5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -422,7 +422,7 @@ impl HpkeProvider for crate::App {
422
422
. unwrap_or ( false ) )
423
423
}
424
424
425
- async fn get_receiver_configs < ' s > (
425
+ async fn get_hpke_receiver_configs < ' s > (
426
426
& ' s self ,
427
427
version : DapVersion ,
428
428
) -> Result < Self :: ReceiverConfigs < ' s > , DapError > {
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ pub trait HpkeProvider {
235
235
task_id : Option < & TaskId > ,
236
236
) -> Result < Self :: WrappedHpkeConfig < ' s > , DapError > ;
237
237
238
- async fn get_receiver_configs < ' s > (
238
+ async fn get_hpke_receiver_configs < ' s > (
239
239
& ' s self ,
240
240
version : DapVersion ,
241
241
) -> Result < Self :: ReceiverConfigs < ' s > , DapError > ;
Original file line number Diff line number Diff line change @@ -119,7 +119,9 @@ impl HandleAggJob<WithTaskConfig> {
119
119
let task_id = request. task_id ;
120
120
let part_batch_sel = request. payload . part_batch_sel . clone ( ) ;
121
121
let initialized_reports = task_config. consume_agg_job_req (
122
- & aggregator. get_receiver_configs ( task_config. version ) . await ?,
122
+ & aggregator
123
+ . get_hpke_receiver_configs ( task_config. version )
124
+ . await ?,
123
125
aggregator. valid_report_time_range ( ) ,
124
126
& task_id,
125
127
request. payload ,
Original file line number Diff line number Diff line change @@ -302,7 +302,9 @@ async fn run_agg_job<A: DapLeader>(
302
302
// Prepare AggregationJobInitReq.
303
303
let agg_job_id = AggregationJobId ( thread_rng ( ) . gen ( ) ) ;
304
304
let ( agg_job_state, agg_job_init_req) = task_config. produce_agg_job_req (
305
- aggregator. get_receiver_configs ( task_config. version ) . await ?,
305
+ aggregator
306
+ . get_hpke_receiver_configs ( task_config. version )
307
+ . await ?,
306
308
aggregator. valid_report_time_range ( ) ,
307
309
task_id,
308
310
part_batch_sel,
Original file line number Diff line number Diff line change @@ -640,7 +640,7 @@ impl HpkeProvider for InMemoryAggregator {
640
640
Ok ( & self . hpke_receiver_config_list [ 0 ] . config )
641
641
}
642
642
643
- async fn get_receiver_configs < ' s > (
643
+ async fn get_hpke_receiver_configs < ' s > (
644
644
& ' s self ,
645
645
_version : DapVersion ,
646
646
) -> Result < Self :: ReceiverConfigs < ' s > , DapError > {
You can’t perform that action at this time.
0 commit comments