orca: fix package used to reference service to use pb suffix instead of grpc (#5647)

orca: fix package used to reference service to use pb suffix instead of grpc (#5647)
This commit is contained in:
Zach Reyes
2022-09-08 15:54:27 -04:00
committed by GitHub
parent 87d1a90a2b
commit 552de12024

View File

@ -112,7 +112,7 @@ func Register(s *grpc.Server, opts ServiceOptions) (*Service, error) {
// negative or is less than the configured minimum (via
// ServiceOptions.MinReportingInterval), the latter is used. Else the value from
// the incoming request is used.
func (s *Service) determineReportingInterval(req *v3orcaservicegrpc.OrcaLoadReportRequest) time.Duration {
func (s *Service) determineReportingInterval(req *v3orcaservicepb.OrcaLoadReportRequest) time.Duration {
if req.GetReportInterval() == nil {
return s.minReportingInterval
}