File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ import (
1414
1515// HealthCheckInterceptor is a gRPC interceptor that records health metrics
1616type HealthCheckInterceptor struct {
17- historyHealthSignalAggregator HealthSignalAggregator
17+ healthSignalAggregator HealthSignalAggregator
1818}
1919
2020// NewHealthCheckInterceptor creates a new health check interceptor
21- func NewHealthCheckInterceptor (historyHealthSignalAggregator HealthSignalAggregator ) * HealthCheckInterceptor {
21+ func NewHealthCheckInterceptor (healthSignalAggregator HealthSignalAggregator ) * HealthCheckInterceptor {
2222 return & HealthCheckInterceptor {
23- historyHealthSignalAggregator : historyHealthSignalAggregator ,
23+ healthSignalAggregator : healthSignalAggregator ,
2424 }
2525}
2626
@@ -35,7 +35,7 @@ func (h *HealthCheckInterceptor) UnaryIntercept(
3535 resp , err := handler (ctx , req )
3636 elapsed := time .Since (startTime )
3737
38- h .historyHealthSignalAggregator .Record (elapsed , err )
38+ h .healthSignalAggregator .Record (elapsed , err )
3939
4040 return resp , err
4141}
You can’t perform that action at this time.
0 commit comments