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) {
(err != nil && os.IsNotExist(err)) {
h.errorResponse(resp, req, now, http.StatusNotFound,
errPemDeleteNotFound, err)
return
} else if err != nil {
// XXX problem description in body
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