@@ -136,7 +136,7 @@ func (eph *EndpointHydrator) performChecks(serviceID protocol.ServiceID, service
136136 // This implies there is no need to specify a specific app.
137137 // TODO_TECHDEBT(@adshmh): support specifying the app(s) used for sending/signing synthetic relay requests by the hydrator.
138138 // TODO_FUTURE(@adshmh): consider publishing observations if endpoint lookup fails.
139- availableEndpoints , _ , err := eph .Protocol . AvailableEndpoints (context .TODO (), serviceID , nil )
139+ availableEndpoints , _ , err := eph .AvailableEndpoints (context .TODO (), serviceID , nil )
140140 if err != nil || len (availableEndpoints ) == 0 {
141141 // No session found or no endpoints available for service: skip.
142142 logger .Warn ().Msg ("no session found or no endpoints available for service when running hydrator checks." )
@@ -178,7 +178,7 @@ func (eph *EndpointHydrator) performChecks(serviceID protocol.ServiceID, service
178178 // which means there is no need for specifying a specific app.
179179 // TODO_FUTURE(@adshmh): support specifying the app(s) used for sending/signing synthetic relay requests by the hydrator.
180180 // TODO_FUTURE(@adshmh): consider publishing observations here.
181- hydratorRequestCtx , _ , err := eph .Protocol . BuildRequestContextForEndpoint (context .TODO (), serviceID , endpointAddr , nil )
181+ hydratorRequestCtx , _ , err := eph .BuildRequestContextForEndpoint (context .TODO (), serviceID , endpointAddr , nil )
182182 if err != nil {
183183 logger .Error ().Err (err ).Msg ("Failed to build a protocol request context for the endpoint" )
184184 continue
0 commit comments