Skip to content

Commit 276ce30

Browse files
author
Daniel McCarney
authored
wfe2: fix typo in err msg (letsencrypt#4208)
1 parent 233b0d6 commit 276ce30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wfe2/verify.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ func (wfe *WebFrontEndImpl) lookupJWK(
455455
wfe.stats.joseErrorCount.With(prometheus.Labels{"type": "JWSKeyIDLookupFailed"}).Inc()
456456
// Add an error to the log event with the internal error message
457457
logEvent.AddError(fmt.Sprintf("Error calling SA.GetRegistration: %s", err.Error()))
458-
return nil, nil, probs.ServerInternal("Error retreiving account %q", accountURL)
458+
return nil, nil, probs.ServerInternal("Error retrieving account %q", accountURL)
459459
}
460460

461461
// Verify the account is not deactivated

wfe2/verify_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ func TestLookupJWK(t *testing.T) {
10431043
Request: makePostRequestWithPath("test-path", errorIDJWSBody),
10441044
ExpectedProblem: &probs.ProblemDetails{
10451045
Type: probs.ServerInternalProblem,
1046-
Detail: "Error retreiving account \"http://localhost/acme/acct/100\"",
1046+
Detail: "Error retrieving account \"http://localhost/acme/acct/100\"",
10471047
HTTPStatus: http.StatusInternalServerError,
10481048
},
10491049
ErrorStatType: "JWSKeyIDLookupFailed",

0 commit comments

Comments
 (0)