Skip to content

Commit

Permalink
Fix test by removing go 1.13 feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Kalafut committed Feb 11, 2020
1 parent 4dff892 commit c761794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/logical.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func buildLogicalRequestNoAuth(perfStandby bool, w http.ResponseWriter, r *http.
if isForm(head, r.Header.Get("Content-Type")) {
formData, err := parseFormRequest(r)
if err != nil {
return nil, nil, http.StatusBadRequest, fmt.Errorf("error parsing form data: %w", err)
return nil, nil, http.StatusBadRequest, errwrap.Wrapf("error parsing form data: {{err}}", err)
}

data = formData
Expand Down

0 comments on commit c761794

Please sign in to comment.