Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish migration from int64 durations to durationpb #7147

Merged
merged 10 commits into from
Nov 28, 2023
5 changes: 2 additions & 3 deletions ra/ra.go
Original file line number Diff line number Diff line change
Expand Up @@ -1496,9 +1496,8 @@ func (ra *RegistrationAuthorityImpl) checkCertificatesPerFQDNSetLimit(ctx contex
}

prevIssuances, err := ra.SA.FQDNSetTimestampsForWindow(ctx, &sapb.CountFQDNSetsRequest{
Domains: names,
WindowNS: limit.Window.Duration.Nanoseconds(),
Window: durationpb.New(limit.Window.Duration),
Domains: names,
Window: durationpb.New(limit.Window.Duration),
})
if err != nil {
return fmt.Errorf("checking duplicate certificate limit for %q: %s", names, err)
Expand Down
Loading