Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
Fix doc typo
Browse files Browse the repository at this point in the history
  • Loading branch information
florisvdg committed Mar 19, 2019
1 parent 0368782 commit 882fe64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/restproxy/rest_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (p *restProxy) handleSecret(w http.ResponseWriter, r *http.Request) {
}

// writeError writes an error message and HTTP status code to the ResponseWriter.
// The HTTP status code is derrived from the error, unless overriden by the statusCode argument.
// The HTTP status code is derived from the error, unless overriden by the statusCode argument.
func writeError(w http.ResponseWriter, err error, statusCode int) {
if statusCode == 0 {
if err, ok := err.(errio.PublicStatusError); ok {
Expand Down

0 comments on commit 882fe64

Please sign in to comment.