You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
grpc: Pass data necessary for Retry-After headers in BoulderErrors (#6415)
- Add a new field, `RetryAfter` to `BoulderError`s
- Add logic to wrap/unwrap the value of the `RetryAfter` field to our gRPC error
interceptor
- Plumb `RetryAfter` for `DuplicateCertificateError` emitted by RA to the WFE
client response header
Part of #6256
BoulderError: berrors.RateLimitError("too many certificates already issued").(*berrors.BoulderError),
1350
+
BoulderError: berrors.RateLimitError(0, "too many certificates already issued").(*berrors.BoulderError),
1351
1351
})
1352
1352
}
1353
-
returnberrors.RateLimitError("too many certificates already issued for multiple names (%s and %d others)", namesOutOfLimit[0], len(namesOutOfLimit)).(*berrors.BoulderError).WithSubErrors(subErrors)
1353
+
returnberrors.RateLimitError(0, "too many certificates already issued for multiple names (%s and %d others)", namesOutOfLimit[0], len(namesOutOfLimit)).(*berrors.BoulderError).WithSubErrors(subErrors)
1354
1354
}
1355
-
returnberrors.RateLimitError("too many certificates already issued for: %s", namesOutOfLimit[0])
1355
+
returnberrors.RateLimitError(0, "too many certificates already issued for: %s", namesOutOfLimit[0])
0 commit comments