@@ -20,21 +20,21 @@ use crate::{
20
20
/// The Load Balancer Updater Service.
21
21
///
22
22
/// This service is responsible for updating the list of workers in the load balancer.
23
- pub ( crate ) struct LBUpdaterService {
23
+ pub ( crate ) struct LoadBalanceUpdateService {
24
24
lb_state : Arc < LoadBalancerState > ,
25
25
server_opts : HttpServerOptions ,
26
26
}
27
27
28
28
/// Manually implement Debug for LBUpdaterService
29
29
/// [HttpServerOptions] does not implement Debug, so we cannot derive Debug for [LBUpdaterService],
30
30
/// which is needed for the tracing instrumentation.
31
- impl fmt:: Debug for LBUpdaterService {
31
+ impl fmt:: Debug for LoadBalanceUpdateService {
32
32
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
33
33
f. debug_struct ( "LBUpdaterService" ) . field ( "lb_state" , & self . lb_state ) . finish ( )
34
34
}
35
35
}
36
36
37
- impl LBUpdaterService {
37
+ impl LoadBalanceUpdateService {
38
38
pub ( crate ) fn new ( lb_state : Arc < LoadBalancerState > ) -> Self {
39
39
let mut server_opts = HttpServerOptions :: default ( ) ;
40
40
server_opts. h2c = true ;
@@ -44,7 +44,7 @@ impl LBUpdaterService {
44
44
}
45
45
46
46
#[ async_trait]
47
- impl HttpServerApp for LBUpdaterService {
47
+ impl HttpServerApp for LoadBalanceUpdateService {
48
48
/// Handles the update workers request.
49
49
///
50
50
/// # Behavior
0 commit comments