Skip to content

Commit

Permalink
Убрал лишний http-ответ
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris committed Dec 28, 2024
1 parent c32b4ba commit 992bcb5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion modules/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@ func (rt *Router) ApiHandler(w http.ResponseWriter, r *http.Request) {
msg := `{"message":"Indices will not be restored at now. Please wait", "error":1}`
http.Error(w, msg, http.StatusTooManyRequests)
log.Println(remoteIP, "\t", r.Method, "\t", r.URL.Path, "\t", request.Action, "\t", http.StatusTooManyRequests, "\t", msg)
w.Write([]byte(msg))
return
}

Expand Down
2 changes: 1 addition & 1 deletion modules/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@

package version

var Version = "extractor/v0.2.19"
var Version = "extractor/v0.2.20"

0 comments on commit 992bcb5

Please sign in to comment.