wfe2: fix typo in err msg (#4208)
This commit is contained in:
		
							parent
							
								
									233b0d667f
								
							
						
					
					
						commit
						276ce30adf
					
				| 
						 | 
					@ -455,7 +455,7 @@ func (wfe *WebFrontEndImpl) lookupJWK(
 | 
				
			||||||
		wfe.stats.joseErrorCount.With(prometheus.Labels{"type": "JWSKeyIDLookupFailed"}).Inc()
 | 
							wfe.stats.joseErrorCount.With(prometheus.Labels{"type": "JWSKeyIDLookupFailed"}).Inc()
 | 
				
			||||||
		// Add an error to the log event with the internal error message
 | 
							// Add an error to the log event with the internal error message
 | 
				
			||||||
		logEvent.AddError(fmt.Sprintf("Error calling SA.GetRegistration: %s", err.Error()))
 | 
							logEvent.AddError(fmt.Sprintf("Error calling SA.GetRegistration: %s", err.Error()))
 | 
				
			||||||
		return nil, nil, probs.ServerInternal("Error retreiving account %q", accountURL)
 | 
							return nil, nil, probs.ServerInternal("Error retrieving account %q", accountURL)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Verify the account is not deactivated
 | 
						// Verify the account is not deactivated
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1043,7 +1043,7 @@ func TestLookupJWK(t *testing.T) {
 | 
				
			||||||
			Request: makePostRequestWithPath("test-path", errorIDJWSBody),
 | 
								Request: makePostRequestWithPath("test-path", errorIDJWSBody),
 | 
				
			||||||
			ExpectedProblem: &probs.ProblemDetails{
 | 
								ExpectedProblem: &probs.ProblemDetails{
 | 
				
			||||||
				Type:       probs.ServerInternalProblem,
 | 
									Type:       probs.ServerInternalProblem,
 | 
				
			||||||
				Detail:     "Error retreiving account \"http://localhost/acme/acct/100\"",
 | 
									Detail:     "Error retrieving account \"http://localhost/acme/acct/100\"",
 | 
				
			||||||
				HTTPStatus: http.StatusInternalServerError,
 | 
									HTTPStatus: http.StatusInternalServerError,
 | 
				
			||||||
			},
 | 
								},
 | 
				
			||||||
			ErrorStatType: "JWSKeyIDLookupFailed",
 | 
								ErrorStatType: "JWSKeyIDLookupFailed",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue