diff --git a/hub/route/provider.go b/hub/route/provider.go index e8c985a8..1ba0d32c 100644 --- a/hub/route/provider.go +++ b/hub/route/provider.go @@ -98,8 +98,8 @@ func updateRuleProvider(w http.ResponseWriter, r *http.Request) { if err := provider.Update(); err != nil { render.Status(r, http.StatusServiceUnavailable) render.JSON(w, r, newError(err.Error())) + return } - render.NoContent(w, r) }