Commit 487ecd32 authored by Geoff Simmons's avatar Geoff Simmons

Minor bugfix missing return.

parent ca52e7ff
...@@ -248,6 +248,7 @@ func (h *pemsHndlr) ServeHTTP(resp http.ResponseWriter, req *http.Request) { ...@@ -248,6 +248,7 @@ func (h *pemsHndlr) ServeHTTP(resp http.ResponseWriter, req *http.Request) {
(err != nil && os.IsNotExist(err)) { (err != nil && os.IsNotExist(err)) {
h.errorResponse(resp, req, now, http.StatusNotFound, h.errorResponse(resp, req, now, http.StatusNotFound,
errPemDeleteNotFound, err) errPemDeleteNotFound, err)
return
} else if err != nil { } else if err != nil {
// XXX problem description in body // XXX problem description in body
status = http.StatusInternalServerError status = http.StatusInternalServerError
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment