Skip to content

Commit

Permalink
Remove useless context
Browse files Browse the repository at this point in the history
  • Loading branch information
pgporada committed May 23, 2024
1 parent 96aa6c0 commit 5940490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wfe/wfe.go
Original file line number Diff line number Diff line change
Expand Up @@ -1864,7 +1864,7 @@ func (wfe *WebFrontEndImpl) RenewalInfo(_ context.Context, response http.Respons
return
}

renewalInfo, err := wfe.determineARIWindow(context.TODO(), certID)
renewalInfo, err := wfe.determineARIWindow(certID)
if err != nil {
wfe.sendError(acme.InternalErrorProblem(fmt.Sprintf("Error determining renewal window: %s", err)), response)
return
Expand All @@ -1878,7 +1878,7 @@ func (wfe *WebFrontEndImpl) RenewalInfo(_ context.Context, response http.Respons
}
}

func (wfe *WebFrontEndImpl) determineARIWindow(_ context.Context, id *core.CertID) (*core.RenewalInfo, error) {
func (wfe *WebFrontEndImpl) determineARIWindow(id *core.CertID) (*core.RenewalInfo, error) {
if id == nil {
return nil, errors.New("CertID was nil")
}
Expand Down

0 comments on commit 5940490

Please sign in to comment.