@@ -283,7 +283,7 @@ impl MgsUpdateDriver {
283
283
// Update the status to reflect that.
284
284
self . status_tx . send_modify ( |driver_status| {
285
285
for baseboard_id in & to_stop_waiting {
286
- driver_status. waiting . remove ( baseboard_id) ;
286
+ driver_status. waiting . remove ( & * * baseboard_id) ;
287
287
}
288
288
} ) ;
289
289
@@ -441,7 +441,7 @@ impl MgsUpdateDriver {
441
441
// Update the overall status to reflect all these changes.
442
442
self . status_tx . send_modify ( |driver_status| {
443
443
// Remove this item from the list of in-progress attempts.
444
- let found = driver_status. in_progress . remove ( & baseboard_id) ;
444
+ let found = driver_status. in_progress . remove ( & * baseboard_id) ;
445
445
assert ! ( found. is_some( ) ) ;
446
446
447
447
// Add this item to the list of requests waiting to be retried.
@@ -474,7 +474,7 @@ impl MgsUpdateDriver {
474
474
. expect ( "waiting request for expired retry timer" ) ;
475
475
// Update the external status to reflect that.
476
476
self . status_tx . send_modify ( |driver_status| {
477
- driver_status. waiting . remove ( & baseboard_id) ;
477
+ driver_status. waiting . remove ( & * baseboard_id) ;
478
478
} ) ;
479
479
480
480
// Find the current configuration for this request.
@@ -580,7 +580,7 @@ impl UpdateAttemptStatusUpdater {
580
580
// in the `in_progress` struct until it completes. Thus, we should
581
581
// always have a value here.
582
582
let mut my_status =
583
- driver_status. in_progress . get_mut ( & self . baseboard_id ) . unwrap ( ) ;
583
+ driver_status. in_progress . get_mut ( & * self . baseboard_id ) . unwrap ( ) ;
584
584
my_status. status = new_status;
585
585
} ) ;
586
586
}
0 commit comments